newbie NLTK question

Miki Tebeka miki.tebeka at zoran.com
Tue Jul 20 03:13:46 EDT 2004


Hello j_pennington_moore,

> from nltk.util import re_show
> 
> I get the following error:
> 
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> ImportError: cannot import name re_show
> 
> I believe I installed everything I need to according to the nltk documentation.  Any ideas 
> on what to do?
This means that nltk.util don't have a re_show.
Try:
import nltk.util
dir(nltk.util)

And see if re_show is in the output. If not something is missing in your
installation.

HTH.
--
------------------------------------------------------------------------
Miki Tebeka <miki.tebeka at zoran.com>
http://tebeka.spymac.net
The only difference between children and adults is the price of the toys



More information about the Python-list mailing list