wn
wn copied to clipboard
NLTK wordnet -> wn migration guide
If this is to supplant the NLTK's module, it needs a clear migration guide. At least there should be a table describing similar operations:
| Operation | nltk.corpus.wordnet |
wn |
|---|---|---|
| Lookup Synsets by Word form | wn.synsets("chat") |
wn.synsets("chat") |
wn.synsets("chat", pos="v") |
wn.synsets("chat", pos="v") |
|
| Lookup Synsets by POS | wn.all_synsets(pos="v") |
wn.synsets(pos="v") |
Although it might make more sense to have separate tables for monolingual and multilingual operations.