Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent default language #12

Open
falcaopetri opened this issue Mar 1, 2022 · 0 comments
Open

Inconsistent default language #12

falcaopetri opened this issue Mar 1, 2022 · 0 comments

Comments

@falcaopetri
Copy link
Contributor

The default language for the WordnetAnnotator depends on how the pipeline component was instantiated.
This is especially important given that SpaCy 2.x and 3.x each use a different approach.

https://github.com/recognai/spacy-wordnet/blob/ada107749d0e195dd966a2d4afe94136cdb230ab/spacy_wordnet/wordnet_annotator.py#L9-L10
https://github.com/recognai/spacy-wordnet/blob/ada107749d0e195dd966a2d4afe94136cdb230ab/spacy_wordnet/wordnet_annotator.py#L18-L21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant