return matches to the client
Browse files- handler.py +3 -1
handler.py
CHANGED
|
@@ -76,6 +76,7 @@ class Utterance:
|
|
| 76 |
'numMathTerms': self.num_math_terms,
|
| 77 |
'mathTerms': self.math_terms,
|
| 78 |
'vocabularyTerms': self.vocabulary_terms,
|
|
|
|
| 79 |
**self.props
|
| 80 |
}
|
| 81 |
|
|
@@ -98,7 +99,8 @@ class Utterance:
|
|
| 98 |
'wordCount': self.word_count,
|
| 99 |
'numMathTerms': self.num_math_terms,
|
| 100 |
'mathTerms': self.math_terms,
|
| 101 |
-
'vocabularyTerms': self.vocabulary_terms
|
|
|
|
| 102 |
}
|
| 103 |
|
| 104 |
def __repr__(self):
|
|
|
|
| 76 |
'numMathTerms': self.num_math_terms,
|
| 77 |
'mathTerms': self.math_terms,
|
| 78 |
'vocabularyTerms': self.vocabulary_terms,
|
| 79 |
+
'vocabularyMatches': self.vocabulary_matches,
|
| 80 |
**self.props
|
| 81 |
}
|
| 82 |
|
|
|
|
| 99 |
'wordCount': self.word_count,
|
| 100 |
'numMathTerms': self.num_math_terms,
|
| 101 |
'mathTerms': self.math_terms,
|
| 102 |
+
'vocabularyTerms': self.vocabulary_terms,
|
| 103 |
+
'vocabularyMatches': self.vocabulary_matches
|
| 104 |
}
|
| 105 |
|
| 106 |
def __repr__(self):
|