11411 Group 6 Project. See NLP Project Page
- Thursday February 7, Stub Program (Ryhan) & Initial Plan (Daniel)
- Tuesday February 26, Progress Report 1 (Stephen)
- Thursday March 21, Progress Report 2 (Ryhan)
- Tuesday April 9, Dry run system
- Tuesday April 16, Project code due
- Tuesday April 30, Demos at Google
- Thursday May 2, Final Report
./ask article.txt nquestions
The asking program takes an
article.txt
containing a Wikipedia article and- an integer
nquestions
.
./answer article.txt questions.txt
The answering program takes an
article.txt
containing a Wikipedia article and- a textfile
questions.txt
containing one question per line.
chmod +x ask
chmod +x answer
First download setuptools
, http://pypi.python.org/pypi/setuptools
sudo sh Downloads/setuptools-...egg
sudo easy_install pip
sudo pip install -U numpy
sudo pip install -U pyyaml nltk
python
>>> import nltk
>>> nltk.download()
Once the NLTK Downloader GUI pops up, download all to /Users/USERNAME/nltk_data