mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-09 22:15:28 +00:00
update for streaming
This commit is contained in:
parent
2d2daf66c2
commit
e052481344
@ -631,7 +631,8 @@ def write_error_stats(
|
||||
results[i] = (cut_id, ref, hyp)
|
||||
|
||||
for cut_id, ref, hyp in results:
|
||||
ali = kaldialign.align(ref, hyp, ERR, sclite_mode=sclite_mode)
|
||||
# ali = kaldialign.align(ref, hyp, ERR, sclite_mode=sclite_mode)
|
||||
ali = kaldialign.align(ref, hyp, ERR)
|
||||
for ref_word, hyp_word in ali:
|
||||
if ref_word == ERR:
|
||||
ins[hyp_word] += 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user