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

Sense2VecComponent.s2v_other_senses bug #118

Closed
asterbini opened this issue Jul 31, 2020 · 0 comments
Closed

Sense2VecComponent.s2v_other_senses bug #118

asterbini opened this issue Jul 31, 2020 · 0 comments

Comments

@asterbini
Copy link

I have not been able to get the s2v_other_senses from a token or span.
I think the culprit is line 199 of file sense2vec/component.py :

return obj._._s2v.get_other_senses(key)

that should be changed to

return obj.doc._._s2v.get_other_senses(key)

@ines ines closed this as completed in a1b7772 Feb 7, 2021
ines added a commit that referenced this issue Feb 7, 2021
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