up
This commit is contained in:
parent
b227fab907
commit
350f0df10e
@ -18,8 +18,8 @@ awk 'BEGIN{OFS="\t"}{print $6, $7, $8, $9}' < results | awk '{ print ($2 + $3 +
|
|||||||
|
|
||||||
paste wikiniews_results.tsv wer.tsv > wikiniews_results.tsv
|
paste wikiniews_results.tsv wer.tsv > wikiniews_results.tsv
|
||||||
|
|
||||||
cat wer.txt | tail -n 50 > wer.txt
|
|
||||||
cat srr.txt | tail -n 50 > srr.txt
|
|
||||||
|
|
||||||
awk 'BEGIN{FS=OFS="\t"}{ bad = bad + $1; all++ }END{ print bad/all }' < wer.tsv >> wer.txt
|
awk 'BEGIN{FS=OFS="\t"}{ bad = bad + $1; all++ }END{ print bad/all }' < wer.tsv >> wer.txt
|
||||||
awk 'BEGIN{FS=OFS="\t"}{ if ( $1 == 0 ) good++; all++ }END{ print good/all }' < wer.tsv >> srr.txt
|
awk 'BEGIN{FS=OFS="\t"}{ if ( $1 == 0 ) good++; all++ }END{ print good/all }' < wer.tsv >> srr.txt
|
||||||
|
|
||||||
|
tail -n 50 wer.txt | sponge wer.txt
|
||||||
|
tail -n 50 srr.txt | sponge srr.txt
|
Loading…
Reference in New Issue
Block a user