From 8c2c4634cb2089277ed0309c632cdda7ee16bcf4 Mon Sep 17 00:00:00 2001 From: s407323 Date: Fri, 26 Apr 2019 16:59:19 +0200 Subject: [PATCH] paste wer fix --- zadanie3/grep.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zadanie3/grep.sh b/zadanie3/grep.sh index 014a802..0799550 100644 --- a/zadanie3/grep.sh +++ b/zadanie3/grep.sh @@ -5,7 +5,7 @@ cat zadanie3/sclite.txt | grep -e "Scores: " | awk '{ print ($7 + $8 + $9) / ($7 + $8 + $6) }' > zadanie3/wikiniews_results_wer.tsv cp ASR-eval/wikiniews_results.tsv zadanie3/wikiniews_results.tsv -paste zadanie3/wikiniews_results_wer.tsv zadanie3/wikiniews_results.tsv +paste zadanie3/wikiniews_results_wer.tsv zadanie3/wikiniews_results.tsv > zadanie3/wikiniews_results.tsv ## SSR cat zadanie3/sclite.txt | grep -e "Scores: " | awk '{all++ ; if ($7 == 0 && $8 == 0 && $9 == 0) good += 1 } END { print good/all }' > zadanie3/ssr.txt