diff --git a/countlines-metrics.sh b/countlines-metrics.sh index 00d3860..f236102 100644 --- a/countlines-metrics.sh +++ b/countlines-metrics.sh @@ -11,7 +11,7 @@ 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 sluzy do obliczenia WER -sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all test.txt +sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout # awk 'BEGIN{OFS="\t"}{print $6, $7, $8, $9}' < scores | awk '{ print ($2 + $3 + $4)/($2 + $3 + $1) }' > wer.tsv