WER calculated
This commit is contained in:
parent
adda087cc7
commit
d497b68608
@ -10,4 +10,4 @@ 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 WER=(($2+$3+$4)/($2+$3+$1));echo $WER done; > values_WER.txt
|
||||
for i in `cat values.txt`; do ($2+$3+$4)/($2+$3+$1);done; > values_WER.txt
|
||||
|
Loading…
Reference in New Issue
Block a user