From 5286cae83bad0a703f3b409a8701df01f8c60f37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C5=82gorzata=20Schmidt?= Date: Fri, 26 Apr 2019 15:04:55 +0200 Subject: [PATCH] correct --- evaluation.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evaluation.sh b/evaluation.sh index 82640cc..34fe051 100644 --- a/evaluation.sh +++ b/evaluation.sh @@ -10,4 +10,4 @@ sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all std cat sclite_results.txt | grep -oP '(?<=Scores: \(#C #S #D #I\) ).*' > to_wer.txt -awk -F " " '{($2 + $3 + $4)/($2 + $3 + $1)}' to_wer.txt > wer.txt \ No newline at end of file +awk '{ print ($2 + $3 + $4)/($2 + $3 + $1)}' to_wer.txt > wer.txt \ No newline at end of file