Skip to content

Using signatures computed using wordNet 3.0  #60

Description

@nDiv

Hi,

I installed pywsd using pip in an Anaconda environment. Now I am trying to use the lesk algorithm using signatures computed with WordNet 3.0. To do this I used Precompute Signatures.ipynb where I specified the wordnet_30_dir parameter to generate the signatures. I then copy the generated signatures.pkl file into the lib directory of the installed pywsd and replace the default file that came with the installation.

My code then fails at this line: from pywsd import disambiguate
With the following error: KeyError: 'simple'

Re-running the same line goes through the previous error and produces the following error:
AttributeError: module 'pywsd' has no attribute 'lesk'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions