change input file in srr

This commit is contained in:
Małgorzata Schmidt 2019-04-26 15:35:03 +02:00
parent 00b2473734
commit 2ec6f72204

View File

@ -22,5 +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 && $3 == 0 && $4 == 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 }' to_wer.txt >> metric_aggregated.txt