error problems for import some copora with nltk

ekyungchung at gmail.com ekyungchung at gmail.com
Wed Dec 22 03:13:48 CET 2004


I did install the python 2.4 and nltk.
I am trying to follow the tutorial, but I kept getting error messages
about importing corpus as follows

===================================================
>>> from nltk.corpus import gutenberg

Traceback (most recent call last):
File "<pyshell#3>", line 1, in -toplevel-
from nltk.corpus import gutenberg
ImportError: cannot import name gutenberg
===================================================

I got the data files under c:\\python24\nltk\
Do you know why I can't get the result?
Any help?

Thanks in advance,

Kyung in Texas




More information about the Python-list mailing list