metryki
This commit is contained in:
parent
8df5ef02eb
commit
d84c274c70
4
lines.sh
4
lines.sh
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user