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

wordnet ModuleNotFoundError #144

Closed
baradl opened this issue Aug 21, 2020 · 0 comments
Closed

wordnet ModuleNotFoundError #144

baradl opened this issue Aug 21, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@baradl
Copy link

baradl commented Aug 21, 2020

When utilizing the ppdb augmentation for substituting with synonyms the model is constructed in nlpaug.model.word_dict.ppdb.py

Line 24: import wordnet

The error is always raised since wordnet is part of nltk and not a stand-alone library. It has to be

from nltk.corpus import wordnet

Did I made a mistake?

Cheers

@makcedward makcedward added the bug Something isn't working label Aug 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants