参考网址: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
pythonthen typeimport nltk
标签:import numpy os x class util type code cut org
sudo pip install -U nltksudo pip install -U numpypython 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