PrithivirajDamodaran / Gramformer

A framework for detecting, highlighting and correcting grammatical errors on natural language text. Created by Prithiviraj Damodaran. Open to pull requests and other forms of collaboration.
MIT License
1.5k stars 175 forks source link

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

Open nicolemd7 opened 1 year ago

nicolemd7 commented 1 year ago

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")

zhouzebiao commented 1 year ago

Command : python3 -m spacy download en

akesh1235 commented 1 year ago

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

Madhavmoudhgal commented 1 year ago

@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