format fix
This commit is contained in:
parent
a0c0edb305
commit
7f5b02dacd
@ -19,7 +19,7 @@ awk '{getline l < "wer_per_line.txt"; print $0"\t"l} ' wikiniews_results.tsv > w
|
||||
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
|
||||
awk '{if ($1 == 0) acc += 1;} END { print ( acc / NR) * 100; }' < wer_per_line.txt > srr.txt
|
||||
|
||||
rm wer_per_line.txt
|
||||
rm hypothesis.txt
|
||||
|
Loading…
Reference in New Issue
Block a user