Resource stopwords not found.
Please use the NLTK Downloader to obtain the resource:
import nltk
>>> nltk.download('stopwords')
For more information see: https://www.nltk.org/data.html
Attempted to load corpora/stopwords
错误解决方法。
NLTK下载停用词(stopwords)资源,下载后解压到相应目录中即可,亲测可用!
1