Task 3 - calculate wer per line

This commit is contained in:
s452111 2020-04-22 13:47:25 +02:00
parent 449da50f92
commit f4956e9539

View File

@ -16,7 +16,7 @@ cat wer_results.txt | awk '{print ( ($7 + $8 + $9) / ($7 + $8 + $6) ) * 100;}' >
paste wer_per_line.txt wikiniews_results.tsv
# calculate mean WER for all records
awk '{sum += $1; n++} END { print sum / n; }' < wer_per_lines.txt > wer.txt
awk '{sum += $1; n++} END { print sum / n; }' < wer_per_line.txt > wer.txt
# calculate SSR