Python nltk download and download_shell both freeze (hang) on punkt attempt

后端 未结 3 779
心在旅途
心在旅途 2020-12-19 22:11

Using NLTK 2.0.4. installed for EPD\'s Python-2.7.3 (not Canopy). on Ubuntu 12.10. In the terminal I type:

In [96]: nltk.download_shell()
NL         


        
3条回答
  •  佛祖请我去吃肉
    2020-12-19 22:39

    I had the same problem and downloaded the necessary items manually from the following link:

    http://nltk.org/nltk_data/

    Not the desired solution, but will work until this is fixed.

    UPDATE:

    I was actually able to run nltk.download() to install cmudict. Maybe this issue only affects certain packages?

提交回复
热议问题