安装nltk 1)在buntu终端命令键入:wget https://bootstrap.pypa.io/ez_setup.py,下载ez_setup.py. 2)下载完成后后,键入:sudo python ez_setup.py,安装setuptools. *3)安装pip,如果已安装请忽略这一步,键入:sudo easy_install pip. *4)安装numpy,可选安装,键入:sudo pip install -U nltk. 5)安装nltk,键入sudo pip install…