Skip to content

Sense2VecComponent.s2v_other_senses bug #118

@asterbini

Description

@asterbini

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions