Closed huangruizhe closed 1 year ago
Hm. There may be a difference between various versions of the Levenshtein alignment/edit-distance code in edit-distance-inl.h. I don't think it really matters though.
Ok! Yeah, this is true. I will take the result from one of them. Thanks!
yeah, it's just ambiguity of the path. y.
On Mon, Sep 26, 2022 at 3:31 AM Daniel Povey @.***> wrote:
Hm. There may be a difference between various versions of the Levenshtein alignment/edit-distance code in edit-distance-inl.h. I don't think it really matters though.
— Reply to this email directly, view it on GitHub https://github.com/kaldi-asr/kaldi/issues/4798#issuecomment-1257601810, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUKYX2CACMRPYCK7G2UPILWAFGOFANCNFSM6AAAAAAQVN5NVI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hello, I found the numbers of insertion/deletion/substituion errors are mismatched between "wer" and "per_utt" files, generated by
score_kaldi_wer.sh
.I have included a tiny example to replicate the issue. There are 10 utterances in the following two files: hyp.txt ref.txt
Here is my result:
Then, I sum up the numbers of #csid in the "per_utt" file:
The result is:
Notice above that the two results are not exactly the same:
Is this a known/intended behavior? Thanks!