Spaces:
Sleeping
Sleeping
typo
Browse files
app.py
CHANGED
@@ -83,8 +83,8 @@ def identify_misaligned_sentences(reference_text, hypothesis_text):
|
|
83 |
Identify sentences that don't match between reference and hypothesis.
|
84 |
Returns a dictionary with misaligned sentence pairs, their indices, and misalignment details.
|
85 |
"""
|
86 |
-
reference_sentences =
|
87 |
-
hypothesis_sentences =
|
88 |
|
89 |
misaligned = []
|
90 |
for i, (ref, hyp) in enumerate(zip(reference_sentences, hypothesis_sentences)):
|
|
|
83 |
Identify sentences that don't match between reference and hypothesis.
|
84 |
Returns a dictionary with misaligned sentence pairs, their indices, and misalignment details.
|
85 |
"""
|
86 |
+
reference_sentences = reference_text
|
87 |
+
hypothesis_sentences = hypothesis_text
|
88 |
|
89 |
misaligned = []
|
90 |
for i, (ref, hyp) in enumerate(zip(reference_sentences, hypothesis_sentences)):
|