patrickloeber / pytorch-chatbot

Simple chatbot implementation with PyTorch.
MIT License
420 stars 334 forks source link

nltk_Data/punkt #26

Open ghost opened 11 months ago

ghost commented 11 months ago

I tried to download punkt using
Import nltk nltk.download('punkt')

getting the common error :

import nltk nltk.download('punkt') [nltk_data] Error loading punkt: <urlopen error [WinError 10060] A [nltk_data] connection attempt failed because the connected party [nltk_data] did not properly respond after a period of time, or [nltk_data] established connection failed because connected host [nltk_data] has failed to respond> False

pls help me out with the following error

ghost commented 11 months ago

ASAP

LuluW8071 commented 9 months ago

Try doing from terminal instead

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

If it doesn't throw error Coment the nltk.download('punkt') part