zad3 test19

This commit is contained in:
massta 2020-04-03 17:03:05 +02:00
parent 32799f3c54
commit 56622352cd

View File

@ -3,8 +3,10 @@ cat output.txt | awk '{print (($7 + $8 + $9)/($7 + $8 + $6))*100;}' > clear.txt
avg=$(numaverage clear.txt)
srr_matching=$(grep -x "0" results.txt | wc -l)
all=$(results.txt | wc -l)
all=$(cat results.txt | wc -l)
echo "$srr_matching"
echo "$all"
srr=$((srr_matching/all))
echo "Medium WER: $avg" >> clear.txt