Skip to content

Commit

Permalink
fix/typo (#5)
Browse files Browse the repository at this point in the history
closes #4
  • Loading branch information
JarbasAl authored Aug 6, 2024
1 parent eb3c87e commit ee04ac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def handle_hypernym(self, message):

# common query
def CQS_match_query_phrase(self, phrase):
summary = self.wordnet.spoken_answer(query, lang=self.lang)
summary = self.wordnet.spoken_answer(phrase, lang=self.lang)
if summary:
self.log.info(f"Wordnet answer: {summary}")
return (phrase, CQSMatchLevel.CATEGORY, summary,
Expand Down

0 comments on commit ee04ac7

Please sign in to comment.