-
Notifications
You must be signed in to change notification settings - Fork 15
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
How do I obtain synonyms? #4
Comments
In order to get all synonyms from a lemma, simply call instance.les_lemma_synonyms(LEMMA).
|
In addition to that, we compiled a tsv synonyms file at: https://github.com/MartenPostma/OpenDutchWordnet/blob/master/synonyms.tsv |
Thanks! But which specific script do I need to run to call "instance.les...."? I tried to call it using the les.py script among others (in the powershell) but this script does not seem to do the job. Which one should I use? |
You first have to load the module as indicated in the README:
#please check the attribute LICENSE before using this module
#the attribute 'odwn' stores the path to the most recent version
#example of how to use module
then you can use this method. Although, it's only tested on Mac Os X and Linux. So no garanties there. That is why I create the synonym file to be on the safe side. |
Thanks Marten, I tried and tried, but did not succeed in getting the module running (note, I guess it is wn_ instead of Wn_). However the synonym file does the trick. |
No description provided.
The text was updated successfully, but these errors were encountered: