wer ard srr

This commit is contained in:
Yevheniia Tsapkova 2020-04-03 14:56:21 +02:00
parent e6be7e1fb5
commit 130e8b2b6e
1 changed files with 4 additions and 1 deletions

View File

@ -6,4 +6,7 @@ awk -F "\t" '{print $2}' wikiniews_results.tsv > hypothesis.txt
awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < hypothesis.txt > hypothesis.trn
awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < reference.txt > reference.trn
sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout
sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout
cat hypothesis.trn
cat reference.trn