python 3.x - Can't use nltk:" AttributeError: module 'nltk' has no attribute 'data'' " -


i used nltk in code few days, now, when try import nltk, error:

file "c:\users\nada\anaconda\lib\site-packages\nltk\corpus\reader\plaintext.py", line 42, in plaintextcorpusreader  sent_tokenizer=nltk.data.lazyloader(  attributeerror: module 'nltk' has no attribute 'data' 

yesterday installed weka package didn't work, don't know in has that...

i tried update it, error keeps showing up.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -