hylee
commited on
Commit
·
3213f06
1
Parent(s):
f22332f
add test print
Browse files- handler.py +1 -0
handler.py
CHANGED
@@ -374,6 +374,7 @@ def run_math_density(transcript):
|
|
374 |
for i, utt in enumerate(transcript.utterances):
|
375 |
found_math_terms = set()
|
376 |
text = utt.get_clean_text(remove_punct=False)
|
|
|
377 |
num_math_terms = 0
|
378 |
for term in math_terms:
|
379 |
count = len(re.findall(term, text))
|
|
|
374 |
for i, utt in enumerate(transcript.utterances):
|
375 |
found_math_terms = set()
|
376 |
text = utt.get_clean_text(remove_punct=False)
|
377 |
+
print("clean text while running match density: ", text)
|
378 |
num_math_terms = 0
|
379 |
for term in math_terms:
|
380 |
count = len(re.findall(term, text))
|