其他分享
首页 > 其他分享> > NLTK Data installation

NLTK Data installation

作者:互联网

ls ab.zip | xargs -n1 unzip -o*
解压所有的zip

Manual installation

Create a folder nltk_data, e.g. C:\nltk_data, or /usr/local/share/nltk_data, and subfolders chunkers, grammars, misc, sentiment, taggers, corpora, help, models, stemmers, tokenizers.

Download individual packages from https://www.nltk.org/nltk_data/ (see the “download” links). Unzip them to the appropriate subfolder. For example, the Brown Corpus, found at: https://raw.githubusercontent.com/nltk/nltk_data/gh-pages/packages/corpora/brown.zip is to be unzipped to nltk_data/corpora/brown.

Set your NLTK_DATA environment variable to point to your top level nltk_data folder.

标签:your,installation,zip,data,corpora,nltk,https,Data,NLTK
来源: https://blog.csdn.net/u013226430/article/details/122678587