NLTK入門學習筆記

2021-07-31 14:16:38 字數 472 閱讀 3125

參考 作為自己的nltk的入門篇,演練其**,記錄**執行過程中的一些問題,以及應對方法;

anaconda2\python.exe(上機環境)

1.剛呼叫nltk的word_tokenize就raise乙個如下error

lookuperror:

resource u』tokenizers/punkt/english.pickle』 not found. please

use the nltk ********** to obtain the resource: >>>

nltk.download()

解決辦法:

待續。。

NLTK學習筆記

學習參考書 nltk.set proxy com 80 nltk.download 2.使用sents fileid 函式時候出現 resource tokenizers punkt english.pickle not found.please use the nltk to obtain the...

NLTK學習筆記

學習參考書 nltk.set proxy com 80 nltk.download 2.使用sents fileid 函式時候出現 resource tokenizers punkt english.pickle not found.please use the nltk to obtain the...

NLTK學習筆記

學習參考書 nltk.set proxy com 80 nltk.download 2.使用sents fileid 函式時候出現 resource tokenizers punkt english.pickle not found.please use the nltk to obtain the...