[Tutor] NLTK

Kent Johnson kent37 at tds.net
Fri Aug 28 13:49:40 CEST 2009


On Fri, Aug 28, 2009 at 3:14 AM, Ishan Puri<ballerz4ishi at sbcglobal.net> wrote:
> Hello,
>     I have successfully downloaded NLTK and the toy grammars. I want to run
> a few of the packages that come with NLTK on corpora that I have. How do I
> do this? What commands would I use? The corpora are text files; should I put
> them in the Python25 folder (is that the so called same directory)?

The section Loading your own Corpus in the book seems to show what you want:
http://nltk.googlecode.com/svn/trunk/doc/book/ch02.html

Kent


More information about the Tutor mailing list