This commit is contained in:
Kamil Paprota 2020-04-03 17:16:08 +02:00
parent 8df5ef02eb
commit d84c274c70

View File

@ -6,8 +6,8 @@ cut -f3 wikiniews_results.tsv > reference.txt
mv wer.txt wer1.txt mv wer.txt wer1.txt
mv srr.txt srr1.txt mv srr.txt srr1.txt
cat wer1.txt | tail -n 99 > wer.txt cat wer1.txt | tail -n 49 > wer.txt
cat srr1.txt | tail -n 99 > srr.txt cat srr1.txt | tail -n 49 > srr.txt
awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < reference.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")"}' < hypothesis.txt > hypothesis.trn awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < hypothesis.txt > hypothesis.trn