From e96bfb6567831f415033e529c10469138a3a7fc8 Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Fri, 18 Nov 2022 09:46:34 +0100 Subject: [PATCH] Update spacy/lang/ru/lemmatizer.py Co-authored-by: Richard Hudson --- spacy/lang/ru/lemmatizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/lang/ru/lemmatizer.py b/spacy/lang/ru/lemmatizer.py index 54ac7cef2..f4a35de38 100644 --- a/spacy/lang/ru/lemmatizer.py +++ b/spacy/lang/ru/lemmatizer.py @@ -60,7 +60,7 @@ class RussianLemmatizer(Lemmatizer): if univ_pos == "PUNCT": return [PUNCT_RULES.get(string, string)] if univ_pos not in ("ADJ", "DET", "NOUN", "NUM", "PRON", "PROPN", "VERB"): - return self.pymorphy2_lookup_lemmatize(token) + return self._pymorphy_lookup_lemmatize(token) analyses = self._morph.parse(string) filtered_analyses = [] for analysis in analyses: