__author__ = "Christopher Potts" __version__ = "CS224u, Stanford, Spring 2016 term"
We recommend installing the free Anaconda Python distribution, which includes IPython, Numpy, Scipy, matplotlib, scikit-learn, NLTK, and many other useful packages. This is not required, but it's an easy way to get all these packages installed.
Unless you're very comfortable with Python package management, this is probably the option for you.
Anaconda comes with NLTK but not with its data distribution. To install that, open a Python interpreter and run
import nltk; nltk.download(). If you decide to download the data to a different directory than the default, then you'll have to set
NLTK_DATA in your shell profile. (If that doesn't make sense to you, then we recommend choosing the default download directory!)
Instructions for installing TensorFlow with Anaconda or pip.