nltk模块载入问题
pycharm吧
全部回复
仅看楼主
level 3
且听我口耳听02
楼主
代码如下:from nltk.corpus import gutenburg
allowords=gutenberg.words('shakespeare-hamlet.txt')
在python console处运行,结果第二句出了问题,可能是内部并没有word函数,但是我检查了确实安装了nltk,请问一下该怎么解决,谢谢
2017年03月25日 15点03分
1
1