暴力解决NLTK下载问题

问题描述 在使用NLTK包的分词器word_tokenize时报错,下面就是原始报错信息,大意就是没有’punkt’这个资源,让我们用他提示的代码下载。 Resource punkt not found. Please use the NLTK Downloader to obtain the resource: import nltk nltk.download(‘punkt’) For mor
相关文章
相关标签/搜索