Course set-up

In [1]:
__author__ = "Christopher Potts"
__version__ = "CS224u, Stanford, Spring 2016 term"

This notebook covers the steps you'll need to take to get set up for CS224u.

Anaconda

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.

NLTK data

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!)

cs224u Github repository

Many of our codelabs and assignments are in the cs224u repository, which you should clone. We'll be working in it a lot. If you're running Anaconda and have taken the above steps for the NLTK data and TensorFlow, then you'll satisfy all the package requirements.

SippyCup

Our semantic parsing library is SippyCup. Clone this repository for local use. We'll help you get set up to use it as part of the semantic parsing unit.