From e6be7e1fb58d4d574486792825b58053f4deaf89 Mon Sep 17 00:00:00 2001 From: Yevheniia Tsapkova Date: Fri, 3 Apr 2020 14:54:59 +0200 Subject: [PATCH] wer ard srr --- script.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/script.sh b/script.sh index b7cd892..b843a86 100644 --- a/script.sh +++ b/script.sh @@ -1,5 +1,8 @@ wc -l wikiniews_results.tsv > res.txt +awk -F "\t" '{print $3}' wikiniews_results.tsv > reference.txt +awk -F "\t" '{print $2}' wikiniews_results.tsv > hypothesis.txt + awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < hypothesis.txt > hypothesis.trn awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < reference.txt > reference.trn