Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要用 Python 对一些词进行词形还原
我已安装 NLTK,但出现以下错误
Resource punkt not found. Please use the NLTK Downloader to obtain the resource: >>> import nltk >>> nltk.download('punkt')
我已经安装了 nltk 并且之前导入了库我想知道为什么会出现这个错误。谢谢
我通过运行解决了我的问题
nltk.download('punkt')