nltk related issue

Glenn Hutchings glenn.hutchings at 1
Sun Jun 24 12:34:54 EDT 2018


  To: Sharan Basappa
From: Glenn Hutchings <zondo42 at gmail.com>

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_d
ata'
 >      -
'D:\\Users\\sharanb\\AppData\\Local\\Enthought\\Canopy\\edm\\envs\\User\\lib\\n
ltk_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

--- BBBS/Li6 v4.10 Toy-3
 * Origin: Prism bbs (1:261/38)



More information about the Python-list mailing list