diff --git a/src/nlp.py b/src/nlp.py index 2ebff1c..1600f56 100644 --- a/src/nlp.py +++ b/src/nlp.py @@ -86,7 +86,7 @@ class NLP: def __get_verb_noun(self, tree: ParseTree) -> List[str]: terms: List[str] = [] terms.extend(self.__get_terms_by_template(tree, 'VERB/NOUN', True)) - terms.extend(self.__get_terms_by_template(tree, 'NOUN/VERB', True)) + terms.extend(self.__get_terms_by_template(tree, 'NOUN/VERB')) return terms def __get_single_terms_by_template(self, tree: ParseTree, template: List[str]) -> List[str]: