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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -