Answers for "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"

0

OSError: [E941] Can't find model 'en'. It looks like you're trying to load a model from a shortcut, which is deprecated as of spaCy v3.0. To load the model, use its full name instead:

if self.language.ISO_639_1.lower() == 'en':
    self.nlp = spacy.load('en_core_web_sm')
else:
    self.nlp = spacy.load(self.language.ISO_639_1.lower())
Posted by: Guest on April-18-2021

Code answers related to "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"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language