Witless
Un blog de actualizaciĆ³n irregular. Irregular updates. Don't hold your breath.
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:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment