Please use the NLTK Downloader to obtain the resource:

解决如下:原因在于缺少一个模块

window 下 

>>>python

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

 

posted @ 2020-11-28 11:25  liweikuan  阅读(1004)  评论(0编辑  收藏  举报