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
REF: לשמוליק הייתה כבשה ולה לא היה כלב יופי
HYP: איזה כיף לשמוליקה אתה כבשה ולהלהלה כלב ****
S S S S S S D
Which misses insertions, substitutions and deletions...
Is there a way to handle this?
Would you be interested in a PR?
Thanks
Yonatan.
The text was updated successfully, but these errors were encountered:
YonatanOfek
changed the title
Alignment (visualization?) seems to be broken for left-to-right languages
Alignment (visualization?) seems to be broken for right-to-left languages
Sep 19, 2024
YonatanOfek
changed the title
Alignment (visualization?) seems to be broken for right-to-left languages
Alignment (visualization?) seems to be broken for languages that are written right-to-left
Sep 19, 2024
Inputting:
import jiwer
ref = 'לשמוליק הייתה כבשה ולה לא היה כלב יופי'
hyp = 'איזה כיף לשמוליקה אתה כבשה ולהלהלה כלב'
out = jiwer.process_words(ref, hyp)
print(jiwer.visualize_alignment(out))
outputs:
REF: לשמוליק הייתה כבשה ולה לא היה כלב יופי
HYP: איזה כיף לשמוליקה אתה כבשה ולהלהלה כלב ****
S S S S S S D
Which misses insertions, substitutions and deletions...
Is there a way to handle this?
Would you be interested in a PR?
Thanks
Yonatan.
The text was updated successfully, but these errors were encountered: