Task 3 - metrics - starting point

This commit is contained in:
s452111 2020-04-21 22:53:15 +02:00
parent 6abc67535a
commit 811a6a2000

View File

@ -6,5 +6,5 @@ cut -f2 'wikiniews_results.tsv' > hypothesis.txt
cut -f3 'wikiniews_results.tsv' > reference.txt cut -f3 'wikiniews_results.tsv' > reference.txt
# awk transfer txt to .trn # awk transfer txt to .trn
awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < referencje.txt > reference.trn awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < reference.txt > reference.trn
awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < hipotezy.txt > hypothesis.trn awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < hypothesis.txt > hypothesis.trn