Spaces:
Sleeping
Sleeping
fix mismatched sentences
Browse files
app.py
CHANGED
@@ -85,6 +85,7 @@ def process_files(reference_file, hypothesis_file):
|
|
85 |
|
86 |
wer_value = calculate_wer(reference_text, hypothesis_text)
|
87 |
cer_value = calculate_cer(reference_text, hypothesis_text)
|
|
|
88 |
|
89 |
return {
|
90 |
"WER": wer_value,
|
|
|
85 |
|
86 |
wer_value = calculate_wer(reference_text, hypothesis_text)
|
87 |
cer_value = calculate_cer(reference_text, hypothesis_text)
|
88 |
+
mismatched_sentences = get_mismatched_sentences(reference_text, hypothesis_text)
|
89 |
|
90 |
return {
|
91 |
"WER": wer_value,
|