On Sep 7, 6:55 pm, Ned Deily <[email protected]> wrote:
> In article
> <[email protected]>,
>
>  "newb.py" <[email protected]> wrote:
> > On Sep 7, 5:40 pm, "newb.py" <[email protected]> wrote:
> > > I am trying to learn NLP with Python and am getting the following
> > > error when trying to do an import statement:
>
> > > >>> import nltk
> > > >>> import re
> > > >>> from nltk_lite.utilities import re_show
>
> > > Traceback (most recent call last):
> > >   File "<stdin>", line 1, in <module>
> > > ImportError: No module named nltk_lite.utilities
>
> Guessing from the current documentation, try replacing the third line
> with:
>
> >>> from nltk.util import re_show
>
> --
>  Ned Deily,
>  [email protected]

Fantastic. Thanks so much!
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to