srr fixed
This commit is contained in:
parent
08fd6be0cd
commit
8214f16d56
0
hypothesis.trn
Normal file
0
hypothesis.trn
Normal file
0
hypothesis.txt
Normal file
0
hypothesis.txt
Normal file
0
reference.trn
Normal file
0
reference.trn
Normal file
0
reference.txt
Normal file
0
reference.txt
Normal 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
wikiniews_results_with_wer.tsv
Normal file
0
wikiniews_results_with_wer.tsv
Normal file
|
Loading…
Reference in New Issue
Block a user