From 901125b21346d62120fa287a7b0be2b816e09b3e Mon Sep 17 00:00:00 2001 From: Dawid Jurkiewicz Date: Fri, 3 Apr 2020 15:44:24 +0200 Subject: [PATCH] clear wer and srr --- calc_metrics.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/calc_metrics.sh b/calc_metrics.sh index f3ea8b9..e4aeb08 100755 --- a/calc_metrics.sh +++ b/calc_metrics.sh @@ -9,5 +9,6 @@ python3 -c "print(`grep -c '^0$' wer_all.txt`/`cat wer_all.txt | wc -l`)" >> srr paste wikiniews_results.tsv wer.txt > wikinews_results.tsv rm wikiniews_results.tsv +rm wer.txt srr.txt tail -n50 wer.txt | sponge wer.txt tail -n50 srr.txt | sponge srr.txt