From 8ec8833c682c96e6f99bf944e45189f403a83550 Mon Sep 17 00:00:00 2001 From: Damian Michalski Date: Fri, 3 Apr 2020 17:36:04 +0200 Subject: [PATCH] Script update --- get_wer_lines.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get_wer_lines.sh b/get_wer_lines.sh index 2d004da..44d3b61 100755 --- a/get_wer_lines.sh +++ b/get_wer_lines.sh @@ -1,5 +1,5 @@ cat result.txt | grep -i -w "Scores: (#C #S #D #I)" | cut -c23- | awk '{print (($2 + $3 + $4)/($2 + $3 + $1))*100;}' > wer_lines.txt -paste -d ' ' wikiniews_results.tsv wer_lines.txt > tmp.tsv +paste -d ' ' wikiniews_results.tsv wer_lines.txt > tmp.tsv cat tmp.tsv > wikiniews_results.tsv rm tmp.tsv