WER calculated

This commit is contained in:
email 2019-04-26 14:27:49 +02:00
parent 61fef127b4
commit d10dd82a00

View File

@ -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