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]))