转载请标明出处:
http://blog.csdn.net/djy1992/article/details/72828734
本文出自:【奥特曼超人的博客】
提起聊天机器人, 想必大家会想起一个优秀的库,NLTK库,这里简化了安装流程并提到大家都会遇到的一个错误。
Resource u*corpora/gutenberg* not found. Please use the NLTKDownloader to obtain the resource:
运行环境:
WIN+Python 2.7
安装:
pip install nltk
运行
from nltk.book import *