WER calculated

This commit is contained in:
email 2019-04-26 15:39:46 +02:00
parent d95c43b492
commit 4ed877e2c7

View File

@ -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