Add counting metrics
This commit is contained in:
parent
8ad00f9ab4
commit
9883da7397
@ -1,3 +1,6 @@
|
||||
#/bin/bash
|
||||
|
||||
wc -l $1 > results.txt
|
||||
cut -f2 $1 | awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' > hypothesis.trn
|
||||
cut -f3 $1 | awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' > reference.trn
|
||||
|
||||
sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout > results.txt
|
||||
|
Loading…
Reference in New Issue
Block a user