-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Issue with nltk_data #802
Comments
Hi @sanyam8182, have the required NLTK files been downloaded to your local server? |
i have downloaded the files in my system but i dont know about the server. |
It means, the chatterbot running machine, in your case your NLTK downloaded machine. |
yes i have all the files mentioned in the error |
Try to do fallowing steps >>> import nltk
>>> print(nltk.data.path) Check the files are copied into specified above directory or not. If files are there then it should work, even after also you are getting same error, try to download all corpus files $ python3
>>> import nltk
>>> nltk.download('all') |
on running the above commands i get this output: which directory am i supposed to check |
your home dir i.e '/Users/yuvikakoul/nltk_data' |
it contains all the files, still i'll try downloading all the corpora files |
@sanyam8182 Remove the files it contains. They will be re-downloaded (hopefully without errors this time) automatically by ChatterBot. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
When i try to run chatterbot on the local server it shows this error:
[nltk_data] Error loading stopwords: [nltk_data] Error loading wordnet: [nltk_data] Error loading punkt: [nltk_data] Error loading vader_lexicon
Along with it, it also shows the correct response.
The text was updated successfully, but these errors were encountered: