From 9ed2acc92571c32c5b52d8a9c34d6ce54e15bdb5 Mon Sep 17 00:00:00 2001 From: s407323 Date: Fri, 26 Apr 2019 15:17:36 +0200 Subject: [PATCH] save sclite to file --- zadanie3/trn.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zadanie3/trn.sh b/zadanie3/trn.sh index 8e508eb..7d96e35 100644 --- a/zadanie3/trn.sh +++ b/zadanie3/trn.sh @@ -5,4 +5,5 @@ 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 zadanie3/reference.trn trn -h zadanie3/hypothesis.trn trn -e utf-8 -i rm -o all -p \ No newline at end of file +sclite -f 0 -r zadanie3/reference.trn trn -h zadanie3/hypothesis.trn trn -e utf-8 -i rm -o all stdoutp > zadanie3/results.txt +sclite -f 0 -r zadanie3/reference.trn trn -h zadanie3/hypothesis.trn trn -e utf-8 -i rm -o all -p > zadanie3/results-p.txt \ No newline at end of file