From 4cc180a32603ce7b608715fcc0dbc9a43bd6592e Mon Sep 17 00:00:00 2001 From: Aleksey Filippov Date: Tue, 25 Jan 2022 16:09:40 +0400 Subject: [PATCH] Fix error in nlp module --- src/nlp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nlp.py b/src/nlp.py index c11c951..aeababc 100644 --- a/src/nlp.py +++ b/src/nlp.py @@ -20,4 +20,4 @@ class NLP: if node.upos != 'NOUN': continue nouns.append(node) - return list(set([self.lemmatizer(noun.lemma) for noun in nouns])) + return list(set([self._lemmatizer(noun.lemma) for noun in nouns]))