In article
<8119a298-4660-4680-b460->,
"newb.py" <> wrote:
> On Sep 7, 5:40*pm, "newb.py" <seanm...@gmail.com> 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,