如何在nltk中为Python中的波兰语安装ipippan语料库?

2024-09-30 16:29:47 发布

您现在位置:Python中文网/ 问答频道 /正文

我发现nltk包含一些用于加载ipipan模块的模块,但我无法加载该模块,而且它不是下载列表nltk.download()。在

如果波兰语已经包含在nltk中,如何附加ipipan?在

http://www.nltk.org/_modules/nltk/corpus/reader/ipipan.html

我在谷歌没有找到太多。在

https://www.google.pl/search?q=ipipan+nltk


我试过这样的代码,但产生了异常,找不到ippan:

from nltk import corpus
print dir(corpus.ipipan)

print corpus.ipipan.words()

Tags: 模块httpsorgmoduleshttp列表downloadhtml