From 4ed877e2c7fa3866d4ab69bde0b4535997cdb409 Mon Sep 17 00:00:00 2001 From: email Date: Fri, 26 Apr 2019 15:39:46 +0200 Subject: [PATCH] WER calculated --- script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.sh b/script.sh index ac9a5af..7dd4117 100644 --- a/script.sh +++ b/script.sh @@ -17,5 +17,5 @@ paste $FILE WER_outcomes.txt > wikiniews_results2.tsv awk '{ sum += $1; n++ } END { if (n > 0) print sum / n; }' WER_outcomes.txt > WER_SSR_outcomes.txt -awk '{ n++; if ($2==0 && $3==0 && $4==0) corr++ } END { print corr / n; }'values.txt >> WER_SSR_outcomes.txt +awk '{ n++; if ($2==0 && $3==0 && $4==0) corr++ } END { print corr / n; }' values.txt >> WER_SSR_outcomes.txt