Resource stopwords not found.

Resource stopwords not found.
Please use the NLTK Downloader to obtain the resource:

  >>> import nltk
  >>> nltk.download('stopwords')

Attempted to load corpora/stopwords

Searched in:
- ‘/root/nltk_data’
- ‘/usr/nltk_data’
- ‘/usr/share/nltk_data’
- ‘/usr/lib/nltk_data’
- ‘/usr/share/nltk_data’
- ‘/usr/local/share/nltk_data’
- ‘/usr/lib/nltk_data’
- ‘/usr/local/lib/nltk_data’

====================================================
安装提示
在jupyter中输入以下命令即可

import nltk
nltk.download('stopwords')

Resource stopwords not found._第1张图片

你可能感兴趣的:(NLP)