On 21/06/18 04:40, Sharan Basappa wrote:
> Folks,
>
> I am trying to run a simple example associated with nltk.
> I get some error and I don't know what the issue is.
> I need some guidance please.
>
[...]
> LookupError:
> **********************************************************************
> Resource u'tokenizers/punkt/english.pickle' not found. Please
> use the NLTK Downloader to obtain the resource: >>>
> nltk.download()
> Searched in:
> - 'D:\\Users\\sharanb/nltk_data'
> - 'C:\\nltk_data'
> - 'D:\\nltk_data'
> - 'E:\\nltk_data'
> -
'D:\\Users\\sharanb\\AppData\\Local\\Enthought\\Canopy\\edm\\envs\\User\\nltk_data'
> -
'D:\\Users\\sharanb\\AppData\\Local\\Enthought\\Canopy\\edm\\envs\\User\\lib\\nltk_data'
> - 'D:\\Users\\sharanb\\AppData\\Roaming\\nltk_data'
> - u''
> **********************************************************************
>
As the error message says, you need to do a one-time installation of the
NLTK data. See http://www.nltk.org/data.html for more info.
Glenn
--
https://mail.python.org/mailman/listinfo/python-list