srr }
This commit is contained in:
parent
7ca6d472b6
commit
00b2473734
@ -22,6 +22,5 @@ paste $file1 wer.txt > wikiniews_results2.tsv
|
||||
awk '{ total += $1; count++ } END { print total/count }' wer.txt > metric_aggregated.txt
|
||||
|
||||
# caculate srr
|
||||
awk '{count++;
|
||||
if ($2 == 0 && $4 == 0 && $5 == 0) correct += 1} END
|
||||
{print correct/count}' wer.txt >> metric_aggregated.txt
|
||||
awk '{count++ ; if ($2 == 0 && $3 == 0 && $4 == 0) correct += 1 } END { print correct/count }' wer.txt >> metric_aggregated.txt
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user