Gramformer icon indicating copy to clipboard operation
Gramformer copied to clipboard

Fix Can't find model "en" error by directly loading en_core_web_sm

Open nicolemd7 opened this issue 3 years ago • 3 comments

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. If you want to create a blank model, use spacy.blank: nlp = spacy.blank("en")

nicolemd7 avatar Feb 15 '23 16:02 nicolemd7

Command : python3 -m spacy download en

zhouzebiao avatar Feb 22 '23 03:02 zhouzebiao

@nicolemd7 @zhouzebiao In The attributes of errant like errant.Annotator and errant.load need to make changes please follow This by clicking here

akesh1235 avatar Jun 07 '23 18:06 akesh1235

@nicolemd7 @zhouzebiao In The attributes of errant like errant.Annotator and errant.load need to make changes please follow This by clicking here hello i am still facing the same issue here can you please guide me

Madhavmoudhgal avatar Sep 29 '23 14:09 Madhavmoudhgal