From 61fef127b43448546a4d19d51d9907fa39518f5a Mon Sep 17 00:00:00 2001 From: email Date: Fri, 26 Apr 2019 14:22:45 +0200 Subject: [PATCH] WER calculated --- script.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/script.sh b/script.sh index 5b80b4f..d15d58e 100644 --- a/script.sh +++ b/script.sh @@ -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