diff --git a/countlines-metrics.sh b/countlines-metrics.sh index a08f785..a069c4a 100644 --- a/countlines-metrics.sh +++ b/countlines-metrics.sh @@ -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 -tail -n 50 wer.txt > wer.txt -tail -n 50 srr.txt > srr.txt +# tail -n 50 wer.txt > wer.txt +# tail -n 50 srr.txt > srr.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 \ No newline at end of file