s452094-mlworkshops/get_data.sh
2020-04-03 13:56:48 +02:00

4 lines
192 B
Bash
Executable File

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