srr fixed

This commit is contained in:
Adrianna Zaleska 2020-04-19 22:06:11 +02:00
parent 08fd6be0cd
commit 8214f16d56
10 changed files with 3 additions and 1 deletions

0
hypothesis.trn Normal file
View File

0
hypothesis.txt Normal file
View File

0
reference.trn Normal file
View File

0
reference.txt Normal file
View File

0
scores Normal file
View File

View File

@ -10,6 +10,8 @@ paste wikiniews_results.tsv wer.tsv > wikiniews_results_with_wer.tsv
tail -n 50 wer.txt >> wer_tmp.txt
rm wer.txt
mv wer_tmp.txt wer.txt
tail -n 50 srr.txt >> srr.txt
tail -n 50 srr.txt >> srr_tmp.txt
rm srr.txt
mv srr_tmp.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

0
srr.txt Normal file
View File

0
wer.tsv Normal file
View File

0
wer.txt Normal file
View File

View File