LoginSignup
2
0

More than 5 years have passed since last update.

NLTKを使えるようにする

Posted at

nltk.download('punkt')
でやろうとして、

[nltk_data] Error loading punkt: [nltk_data] getaddrinfo failed>

というエラーが出たので、色々調べた。

会社のプロキシをAnaconda promptで通した後、

python -m nltk.downloader -u https://raw.githubusercontent.com/glowskir/nltk_data/7b505ff1f858a489e5b2d879573bdaaa8ef06732/index.xml punkt

を入力したら、動くようになった。

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0