I'm trying to load some corpora I installed with the NLTK installer but I got a:
>>> from nltk.corpus import machado
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name machado
But in the download manager (nltk.download()
) the package machado is marked as installed and I have a nltk_data/corpus/machado
folder.
How can I see from inside the python intepreter what are the installed corpora?
Also, what package should I install to work with this how-to? http://nltk.googlecode.com/svn/trunk/doc/howto/portuguese%5Fen.html
I can't find the module nltk.examples
refered to in the how-to.