Currently is open issue for this, solution will be as follow:
I guess, we could add something like if id != 'panlex_lite' to the code...
But, as for me, the easiest way looks like this:
get https://raw.githubusercontent.com/nltk/nltk_data/gh-pages/index.xml
remove panlex from it
upload it to a public Gist
pass the gist's url to the downloader: python -m nltk.downloader -d /usr/local/share/nltk_data -u https://gist.githubusercontent.com/demidovakatya/61dab385d74065ae825c80496a197980/raw/c6ff7fbf44265c7f8c9e961e3e1158cd812d6af1/index.xml all
这是因为没有正确安装库,所以需要跳过“panlex_lite”库,应该可以工作。在
以下是问题的链接:look at last 2 conversations
相关问题 更多 >
编程相关推荐