1.Resource punkt not found.
Please use the NLTK Downloader to obtain the resource:
解决办法:
import nltk
nltk.download('punkt')
2.Resource stopwords not found.
Please use the NLTK Downloader to obtain the resource:
解决办法:
import nltk
nltk.download('stopwords')
3.Resource wordnet not found.
Please use the NLTK Downloader to obtain the resource:
解决办法:
import nltk
nltk.download('wordnet')
4.Resource averaged_perceptron_tagger not found.
Please use the NLTK Downloader to obtain the resource:
解决办法:
import nltk
nltk.download('averaged_perceptron_tagger')