Tuesday, March 13, 2012

Installing NLTK corpuses (NLP)

How to install the stopwords corpus:

1. mkdir /home/jim/nltk_data (obviously change the directory name to your user!)
2. Fire up a python console
3. >>>import nltk
4. >>>nltk.download()
5. Downloader> d stopwords

(d for download)


No comments: