Chapter 0:Python及nltk准备工作—0.3 nltk_data下载

import nltk

nltk.download()

20180725 - linqingchen6 - 学习点滴

出现大量out of date 心累

20180725 - linqingchen6 - 学习点滴

 github下载速度太慢

https://github.com/nltk/nltk_data 

collection查看book包含哪些文件

packages 下载文件

点击后把chrom的地址复制到迅雷下载

然后放进nltk.download()所显示的文件夹

此方法也可用于其它github文件下载

全部下载完成发现部分文件未识别

再次使用download()发现需要按index里的文件夹分开放

猜你喜欢

转载自blog.csdn.net/DrChenQ/article/details/81195477