WER calculated

This commit is contained in:
email 2019-04-26 14:22:45 +02:00
parent a45543b4d5
commit 61fef127b4

View File

@ -9,3 +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