change input file in srr
This commit is contained in:
parent
00b2473734
commit
2ec6f72204
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user