explosion/sense2vec

Sense2VecComponent.s2v_other_senses bug

asterbini opened this issue · 0 comments

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)