correct
This commit is contained in:
parent
a7be67fd7d
commit
5286cae83b
@ -10,4 +10,4 @@ sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all std
|
||||
|
||||
cat sclite_results.txt | grep -oP '(?<=Scores: \(#C #S #D #I\) ).*' > to_wer.txt
|
||||
|
||||
awk -F " " '{($2 + $3 + $4)/($2 + $3 + $1)}' to_wer.txt > wer.txt
|
||||
awk '{ print ($2 + $3 + $4)/($2 + $3 + $1)}' to_wer.txt > wer.txt
|
Loading…
Reference in New Issue
Block a user