EADST

Super Slow Download with nltk.download punkt

Super Slow Download with nltk.download('punkt') and nltk.download('averaged_perceptron_tagger')

# Download zip files from the given links.
https://github.com/nltk/nltk_data/blob/gh-pages/packages/tokenizers/punkt.zip
https://github.com/nltk/nltk_data/blob/gh-pages/packages/taggers/averaged_perceptron_tagger.zip
# unzip them
unzip -od ./ punkt.zip
unzip -od ./ averaged_perceptron_tagger.zip
# create folders
mkdir /root/nltk_data
mkdir /root/nltk_data/taggers
mkdir /root/nltk_data/averaged_perceptron_tagger
# cp or mv folders
cp -r ./punkt /root/nltk_data/taggers
cp -r ./averaged_perceptron_tagger /root/nltk_data/averaged_perceptron_tagger
相关标签
About Me
XD
Goals determine what you are going to be.
Category
标签云
站点统计

本站现有博文269篇,共被浏览446328

本站已经建立2028天!

热门文章
文章归档
回到顶部