hylee719 commited on
Commit
659190d
·
verified ·
1 Parent(s): 0cbc7cb
Files changed (1) hide show
  1. handler.py +1 -0
handler.py CHANGED
@@ -406,6 +406,7 @@ def run_math_density(transcript):
406
  # Update matched positions
407
  matched_positions.update((match.start(), match.end()) for match in matches)
408
  num_matches += len(matches)
 
409
  print("matched positions: ", matched_positions)
410
  utt.num_math_terms = num_matches
411
  utt.math_terms = match_list
 
406
  # Update matched positions
407
  matched_positions.update((match.start(), match.end()) for match in matches)
408
  num_matches += len(matches)
409
+ print("match list: ", match_list)
410
  print("matched positions: ", matched_positions)
411
  utt.num_math_terms = num_matches
412
  utt.math_terms = match_list