0条评论
还没有人评论过~
在pycharm上已经下载nltk,但是调用nltk的所有功能属性都用不了
import nltk
for_test = 'Xi is the chairman of China in the year 2013.'
print(nltk.word_tokenize(for_test))
这一段的报错
AttributeError: module 'nltk' has no attribute 'word_tokenize'
去看文档。