This commit is contained in:
Gabriela Pałka 2020-04-03 17:09:55 +02:00
parent 6be954481b
commit fb981b74ee

View File

@ -7,4 +7,6 @@ sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all std
python3 count_metrics.py results.txt
paste wikiniews_results.tsv wer.txt > tmp.txt && mv tmp.txt wikiniews_results.tsv
awk '{ total += $1; count++ } END { print total/count }' new_wer.txt >> wer.txt
tail -n 50 wer.txt > tmp && mv tmp wer.txt
tail -n 50 srr.txt > tmp && mv tmp srr.txt
rm results.txt new_wer.txt