读书人

Ubuntu 12.04上NLTK的安装

发布时间: 2012-09-25 09:55:58 作者: rapoo

Ubuntu 12.04下NLTK的安装

安装NLTK之前,先用一下apt-cache search命令搜索一下NLTK包在软件源中具体的名字:

?

$ apt-cache search nltk    #搜索软件包

?

?python-nltk- Python libraries for natural language processing

?

?

$ apt-cache show python-nltk   #显示版本信息/大小等

Package:python-nltk

?

$ apt-cache depends python-nltk #了解具体依赖的包

$ sudo apt-get install python-nltk #安装nltk

$ sudo apt-get install python-numpy

?将会安装下列额外的软件包:

?

$ sudo apt-get install python-matplotlib #画图表要用的

$ sudo apt-get install prover9

$ sudo apt-get install python-scipy #俺跑MaxentClassifier要用的

?将会安装下列额外的软件包:

?

读书人网 >编程

热点推荐