[Tutor] NLTK
Kent Johnson
kent37 at tds.net
Sat Aug 29 23:43:00 CEST 2009
On Sat, Aug 29, 2009 at 2:08 PM, Ishan Puri<ballerz4ishi at sbcglobal.net> wrote:
> Hi,
> Yes! It works! I guess I am asking how did you know to use
> wordlists.words('IM50re.txt')? Is this a specific command, as I believe it
> was not in the book?
It is taken directly from the example in the book:
>>> wordlists.fileids()
['README', 'connectives', 'propernames', 'web2', 'web2a', 'words']
>>> wordlists.words('connectives')
Kent
More information about the Tutor
mailing list