You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would be useful for looking at alignments of long sentences, e.g.:
out=jiwer.process_words(
"This is a very long sentence that is much longer than the previous one or the one before that",
"This is a very loong sentence that is not much longer than the previous one or one before that",
)
print(jiwer.visualize_alignment(out, max_chars=80))
Would output:
sentence 1
REF: This is a very long sentence that is *** much longer than the previous one
HYP: This is a very loong sentence that is not much longer than the previous one
S I
REF: or the one before that
HYP: or *** one before that
D
The text was updated successfully, but these errors were encountered:
This would be useful for looking at alignments of long sentences, e.g.:
Would output:
The text was updated successfully, but these errors were encountered: