From 60c86d23c23552855241c5c6b9ec5643c97bb3e5 Mon Sep 17 00:00:00 2001 From: Ufnow Date: Wed, 22 Apr 2020 00:27:39 +0200 Subject: [PATCH] fix --- script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.sh b/script.sh index 29222dd..f25b932 100644 --- a/script.sh +++ b/script.sh @@ -9,7 +9,7 @@ awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < reference.txt > reference.trn sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout | grep 'Scores' > wyniki awk 'BEGIN{OFS="\t"}{print $6, $7, $8, $9}' < scores | awk '{ print ($2 + $3 + $4)/($2 + $3 + $1) }' > wer.tsv -paste wikiniews_results.tsv wer.tsv > wikiniews_results_with_wer.tsv +paste wikiniews_results.tsv wer.tsv > wikiniewsResultsWithWer.tsv tail -n 20 wer.txt >> wer_tmp.txt rm wer.txt mv wer_tmp.txt wer.txt