📅  最后修改于: 2022-03-11 14:48:23.647000             🧑  作者: Mango
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())