calcuate metrics
This commit is contained in:
parent
a22dc93fc6
commit
8994eb56bd
@ -5,3 +5,5 @@ cut -f3 $file1 > hypothesis.txt
|
||||
|
||||
awk '{print gensub("^\\*\\*", "\\\\**", "g", $0) "\t(sp1_"NR")"}' < reference.txt > reference.trn
|
||||
awk '{print gensub("^\\*\\*", "\\\\**", "g", $0) "\t(sp1_"NR")"}' < hypothesis.txt > hypothesis.trn
|
||||
|
||||
sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout
|
||||
|
Loading…
Reference in New Issue
Block a user