我需要用Python对一些单词进行词汇化Resource punkt not found.Please use the NLTK Downloader to obtain the resource:
>>> nltk.download('punkt')
我已经安装了nltk,并且之前导入了库。我想知道为什么会<e
我是Python的初学者,正在尝试使用nltk.sentiment.vader,但是尽管多次尝试修复它,我还是得到了一条反复出现的错误消息。我以前安装了大部分NTLK (3个模块已经过时,所以无法安装)。然后我使用命令行提示符安装了nltk.sentiment.vader,输出是“成功安装vaderSentiment-2.5”。然后在下面运行脚本,并在下面反复获得错误消息:
from nltk.sentiment.v