Skip to content

chz816/nltk_data

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solve the problem for nltk connection error

This is the solution for nltk connection error like:

nltk_data] Error loading punkt: <urlopen error [Errno 111] Connection refused>

or:

LookupError:
**********************************************************************
  Resource punkt not found.
  Please use the NLTK Downloader to obtain the resource:

  >>> import nltk
  >>> nltk.download('punkt')

  For more information see: https://www.nltk.org/data.html

Solution

Using the virtual enviorment as an example:

git clone https://github.com/chz816/nltk_data.git
mv nltk_data/packages venv/nltk_data

About

NLTK Data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • XSLT 46.3%
  • Shell 32.4%
  • Python 14.7%
  • Makefile 6.6%