Zapisz 'Scores' do osobnego pliku

This commit is contained in:
Krzysztof Moś 2019-05-15 23:57:25 +02:00
parent 5ce51053e9
commit bba44f7f04

View File

@ -5,4 +5,6 @@ awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < hypothesis.txt > hypothesis.tr
awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < reference.txt > reference.trn
sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout > wynik.txt
cat wynik.txt
grep 'Scores:' wynik.txt | awk '{print $6 $7 $8 $9}' > scores.txt
cat scores.txt