SCLITE config

This commit is contained in:
Damian Michalski 2020-04-03 14:02:37 +02:00
parent 187122ba00
commit d1d5e9cb49

View File

@ -1,3 +1,6 @@
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