sclite fix

This commit is contained in:
s407323 2019-04-26 15:05:16 +02:00
parent b059bf99cb
commit 90b4f7cd0b

View File

@ -5,4 +5,4 @@ cut -f 3 ASR-eval/wikiniews_results.tsv > zadanie3/reference.txt
awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < zadanie3/hypothesis.txt > zadanie3/hypothesis.trn
awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < zadanie3/reference.txt > zadanie3/reference.trn
sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout
sclite -f 0 -r zadanie3/reference.trn trn -h zadanie3/hypothesis.trn trn -e utf-8 -i rm -o all stdout