7 lines
275 B
Bash
Executable File
7 lines
275 B
Bash
Executable File
cat wikiniews_results.tsv | cut -f2 -s > hypothesis.txt
|
|
cat wikiniews_results.tsv | cut -f3 -s > reference.txt
|
|
awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < reference.txt > reference.trn
|
|
awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < hypothesis.txt > hypothesis.trn
|
|
|
|
|