如何在Anaconda安装nltk_contrib [英] How to install nltk_contrib in Anaconda

查看:1514
本文介绍了如何在Anaconda安装nltk_contrib的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

搜索如何安装nltk_contrib的Google可以返回 GITHub 链接以及链接 web.mit.edu 。第二个链接提到一个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

或转到 https://github.com/nltk/nltk_contrib ,并使用 下载ZIP 按钮以获取没有他们的历史记录的包。

Or go to https://github.com/nltk/nltk_contrib and use the Download ZIP button to fetch the packages without their history.

这篇关于如何在Anaconda安装nltk_contrib的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆