akki2825 commited on
Commit
85366cd
·
verified ·
1 Parent(s): 60bdbd4
Files changed (1) hide show
  1. app.py +2 -2
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 = split_into_sentences(reference_text)
87
- hypothesis_sentences = split_into_sentences(hypothesis_text)
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)):