卯月七:
你好,我想请问一下为什么我按照文章中说的路径存放了数据,但是依旧不能调用punkt这个数据呢?是压缩包要解压缩么?
[code=python]
import nltk
sentence = """At eight o'colock on Thursday morning Arthur didn't fell very good."""
tokens = nltk.word_tokenize(sentence)
tokens
[/code]
上段代码报错如下:
[code=python]
Resource punkt not found.
Please use the NLTK Downloader to obtain the resource:
[/code]