zad3 test18
This commit is contained in:
parent
7d3766b70d
commit
32799f3c54
@ -1,8 +1,11 @@
|
||||
#!/bin/bash
|
||||
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=$(wc -l)
|
||||
all=$(results.txt | wc -l)
|
||||
|
||||
srr=$((srr_matching/all))
|
||||
|
||||
echo "Medium WER: $avg" >> clear.txt
|
||||
echo "SRR: $srr" >> clear.txt
|
||||
|
Loading…
Reference in New Issue
Block a user