gunthercox / ChatterBot

ChatterBot is a machine learning, conversational dialog engine for creating chat bots
https://chatterbot.readthedocs.io
BSD 3-Clause "New" or "Revised" License
14.04k stars 4.44k forks source link

spacy issue #2329

Open koo1140 opened 11 months ago

koo1140 commented 11 months ago

its says same error again and again: raise IOError(Errors.E941.format(name=name, full=OLD_MODEL_SHORTCUTS[name])) # type: ignore[index] OSError: [E941] Can't find model 'en'. It looks like you're trying to load a model from a shortcut, which is obsolete as of spaCy v3.0. To load the model, use its full name instead:

nlp = spacy.load("en_core_web_sm")

For more details on the available models, see the models directory: https://spacy.io/models and if you want to create a blank model, use spacy.blank: nlp = spacy.blank("en")

jocelyn1981 commented 11 months ago

邮件已收到,谢谢您!

ShoneGK commented 10 months ago

try running python -m spacy download en_core_web_sm in a terminal, this should install the spacy model

koo1140 commented 10 months ago

try running python -m spacy download en_core_web_sm in a terminal, this should install the spacy model

doesnt works

khalidt commented 1 month ago

Ensure that you have Spacy installedpip install spacy. After that, download the en_core_web_sm model by running the command python -m spacy download en_core_web_sm.