Task 3 - calculate avg wer and srr
This commit is contained in:
parent
f4956e9539
commit
7661e21aaf
@ -19,4 +19,4 @@ paste wer_per_line.txt wikiniews_results.tsv
|
||||
awk '{sum += $1; n++} END { print sum / n; }' < wer_per_line.txt > wer.txt
|
||||
|
||||
# calculate SSR
|
||||
|
||||
awk '{if ($1 == 0) acc += 1;} END { print acc / NR; }' < wer_per_line.txt > srr.txt
|
||||
|
Loading…
Reference in New Issue
Block a user