WER calculated
This commit is contained in:
parent
61fef127b4
commit
d10dd82a00
@ -9,4 +9,4 @@ awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < hypothesis.txt > hypothesis.tr
|
||||
sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout > WER_SRR.txt
|
||||
|
||||
grep 'Scores: (#C #S #D #I)' WER_SRR.txt > outcomes_lines.txt
|
||||
cut -f 6,7,8,9 outcomes_lines.txt > outcomes_lines.txt
|
||||
cut -d ' ' -f 6,7,8,9 outcomes_lines.txt > outcomes_lines.txt
|
||||
|
Loading…
Reference in New Issue
Block a user