解决如下:原因在于缺少一个模块
window 下
>>>python
>>> import nltk>>> nltk.download(‘punkt‘)
Please use the NLTK Downloader to obtain the resource:
原文:https://www.cnblogs.com/liweikuan/p/14051968.html