Zapisz 'Scores' do osobnego pliku - spacje

This commit is contained in:
Krzysztof Moś 2019-05-16 00:06:00 +02:00
parent bba44f7f04
commit 9462234c72

View File

@ -6,5 +6,5 @@ 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
grep 'Scores:' wynik.txt | awk '{print $6 $7 $8 $9}' > scores.txt
grep 'Scores:' wynik.txt | awk '{print $6, $7, $8, $9}' > scores.txt
cat scores.txt