Fix error in nlp module
This commit is contained in:
parent
4020ac2d35
commit
4cc180a326
@ -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]))
|
||||
|
Loading…
Reference in New Issue
Block a user