参考网址:http://www.nltk.org/install.html
Mac/Unix
- Install NLTK: run
sudo pip install -U nltk
- Install Numpy (optional): run
sudo pip install -U numpy
- Test installation: run
python
then typeimport nltk
标签:import numpy os x class util type code cut org
sudo pip install -U nltk
sudo pip install -U numpy
python
then type import nltk
在Mac OS X 10.13.2中安装nltk 和numpy
标签:import numpy os x class util type code cut org
原文地址:http://www.cnblogs.com/herosoft/p/8093235.html