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

NLP nltk error #2

Open
VTVL138 opened this issue Jun 8, 2020 · 1 comment
Open

NLP nltk error #2

VTVL138 opened this issue Jun 8, 2020 · 1 comment

Comments

@VTVL138
Copy link

VTVL138 commented Jun 8, 2020

In NLP-Exercise 3 if I import from nltk.corpus the stopwords and if I would like to get the english stopwords like this:
stopwords.words('english')

I get a LookupError, Resource stopwords not found. Is there an other way to get a direct access to the stopwords, or I should download this part of the package?

@bokae
Copy link
Collaborator

bokae commented Jun 8, 2020

You should use nltk's download to get the stopword corpus.

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

2 participants