wer ard srr

This commit is contained in:
Yevheniia Tsapkova 2020-04-03 14:54:59 +02:00
parent 5edb8258b8
commit e6be7e1fb5
1 changed files with 3 additions and 0 deletions

View File

@ -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