7 lines
199 B
Bash
7 lines
199 B
Bash
|
|
||
|
cat zadanie3/sclite.txt | grep -oP '(?<=Scores: \(#C #S #D #I\) ).*' > results_wer.txt
|
||
|
|
||
|
# (S + D + I)/(S + D + C)
|
||
|
awk '{ print ($2 + $3 + $4) / ($2 + $3 + $1) }' results_wer.txt
|
||
|
|
||
|
cat results_wer.txt
|