Skip to content
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

Morphologically flexible searches #77

Open
goodmami opened this issue Sep 26, 2019 · 0 comments
Open

Morphologically flexible searches #77

goodmami opened this issue Sep 26, 2019 · 0 comments

Comments

@goodmami
Copy link
Member

The NLTK's wordnet interface does some basic morphological analysis on English queries, such as depluralization:

>>> from nltk.corpus import wordnet as wn
>>> wn.synsets('spectacles')
[Synset('spectacles.n.01'), Synset('spectacle.n.01'), Synset('spectacle.n.02'), Synset('spectacle.n.03')]

OMW's search does not. "Spectacles" only returns the first synset of the above list. This seems useful, however we cannot immediately provide it for every wordnet (perhaps the maintainers of the other wordnets could suggest morphological analyzers that we could integrate).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant