WER calculated

This commit is contained in:
email 2019-04-26 14:59:57 +02:00
parent 2eb77f54d4
commit 9709404efd

View File

@ -10,5 +10,5 @@ sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all std
cat WER_SSR.txt | grep -oP '(?<=Scores: \(#C #S #D #I\) ).*' > values.txt
for i in `cat values.txt`; do a=3; b=4; c=$((($2+$3+$4)/($2+$3+$1))); echo $c ;done; > values_WER.txt
for i in `cat values.txt`; do c=$((($2+$3+$4)/($2+$3+$1))); echo $c ;done; > values_WER.txt