问题描述
搜索如何安装nltk_contrib的Google可以返回链接以及链接。第二个链接提到一个Windows的安装程序,我找不到任何地方。
说明:
The google search for " how to install nltk_contrib" returns the GITHub link as well as a link from web.mit.edu. The second link mentions an installer for Windows which I could not find anywhere.The instructions:
conda install nltk_contrib
conda install nltk_contrib
pip install nltk_contrib
pip install nltk_contrib
失败,表示没有找到包。 nltk.org甚至没有提到这个模块。
任何人都可以在Windows中的Anaconda中为我安装此模块。任何从GitHub进行安装的说明也将会有帮助!
fail stating that no package found. The nltk.org doesn't even mention this module.Could anyone provide me instructions for installing this module in Anaconda in Windows. Any instructions for installing from GitHub would also be helpful!
推荐答案
听起来你必须手动设置。使用 git
将整个层次结构下载到您的计算机,将其移动到您的python的 site-packages
或添加其位置到您的 PYTHONPATH
,然后尝试一下。请注意,这个代码库没有被主动维护,甚至没有被移植到Python 3,所以如果你发现可以使用的东西,你需要自己移植或使用Python 2。
Sounds like you'll have to set it up manually. Use git
to download the entire hierarchy to your computer, move it to the site-packages
of your python or add its location to your PYTHONPATH
, and try it out. Be aware that this code base is not actively maintained -- it hasn't even been ported to Python 3 yet, so if you find something you can use, you'll need to port it yourself or use Python 2.
无论如何,你是如何用git获取的:
Anyway this is how you fetch it with git:
git clone https://github.com/nltk/nltk_contrib.git
或转到,并使用按钮以获取没有他们的历史记录的包。
Or go to https://github.com/nltk/nltk_contrib and use the button to fetch the packages without their history.
这篇关于如何在Anaconda安装nltk_contrib的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!