def load_lang_model(self):
if self.lang in self.languages:<EOL><INDENT>if not Spacy.model_installed(self.lang):<EOL><INDENT>download(self.lang)<EOL><DEDENT>model = spacy.load(self.lang)<EOL><DEDENT>elif self.lang in self.alpha_languages:<EOL><INDENT>language_module = importlib.import_module(f"<STR_LIT>")<EOL>language_method = getattr(language_module, self.alpha_languages[self.lang])<EOL>model = language_method()<EOL><DEDENT>self.model = model<EOL>
Load spaCy language model or download if model is available and not
installed.

Currenty supported spaCy languages

en English (50MB)
de German (645MB)
fr French (1.33GB)
es Spanish (377MB)

:return: