downloading error using nltk.download()

前端 未结 4 1486
孤城傲影
孤城傲影 2020-12-05 15:15

I am experimenting NLTK package using Python. I tried to downloaded NLTK using nltk.download(). I got this kind of error message. How to solve this problem? Tha

4条回答
  •  旧时难觅i
    2020-12-05 15:39

    From command line, after importing nltk, try

    nltk.download('popular', halt_on_error=False)
    

    After an error it will ask to retry broken package, just decline with n and it will continue with proper packages.

提交回复
热议问题