nltk book的下载
?
1. 在安裝了NLTK 之后,打開python 輸入 import nltk ?,沒有報錯表示安裝成功過
2. 運行 nltk.download() 命令 ,會出現下載頁面
經過多次下載 出錯多次,終于成功 ?
有需要的可以 ?@我,通過 百度網盤共享 ?
http://pan.baidu.com/s/1bpewDAJ ? 提取碼 ?4kud ??
?
下載以后解壓到默認的C盤 NLTK_DATA目錄下 ?
?
3.輸入命令?
>>> from nltk.book import *
出現以下內容 ,說明環境已近裝好了?
*** Introductory Examples for the NLTK Book ***
Loading text1, ..., text9 and sent1, ..., sent9
Type the name of the text or sentence to view it.
Type: 'texts()' or 'sents()' to list the materials.
text1: Moby Dick by Herman Melville 1851
text2: Sense and Sensibility by Jane Austen 1811
text3: The Book of Genesis
text4: Inaugural Address Corpus
text5: Chat Corpus
text6: Monty Python and the Holy Grail
text7: Wall Street Journal
text8: Personals Corpus
text9: The Man Who Was Thursday by G . K . Chesterton 1908
轉載于:https://www.cnblogs.com/mrruning/p/7616538.html
總結
以上是生活随笔為你收集整理的nltk book的下载的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: C语言链表的来源分析
- 下一篇: 巧用云计算 突围移动APP行业乱象