From a18236c339c98fe45647c250e5e282661edcccef Mon Sep 17 00:00:00 2001 From: email Date: Fri, 26 Apr 2019 13:57:25 +0200 Subject: [PATCH] WER calculated --- script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.sh b/script.sh index 7df308b..8e53d9a 100644 --- a/script.sh +++ b/script.sh @@ -7,6 +7,6 @@ awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < reference.txt > reference.trn awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < hypothesis.txt > hypothesis.trn sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout > WER_SRR.txt -sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o stdout > WER_SRR2.txt +sclite -i wsj -r reference.trn -h hypothesis.trn -e utf-8 -i rm -o stdout > WER_SRR2.txt