pasting wer with results
This commit is contained in:
parent
5286cae83b
commit
7f5dacf0d6
@ -11,3 +11,5 @@ 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 '{ print ($2 + $3 + $4)/($2 + $3 + $1)}' to_wer.txt > wer.txt
|
||||
|
||||
paste $file1 wer.txt > wikiniews_results2.tsv
|
Loading…
Reference in New Issue
Block a user