final
This commit is contained in:
parent
68933a9d51
commit
0d102b2481
@ -8,7 +8,7 @@ cp ASR-eval/wikiniews_results.tsv zadanie3/wikiniews_results.tsv
|
|||||||
paste zadanie3/wikiniews_results_wer.tsv zadanie3/wikiniews_results.tsv
|
paste zadanie3/wikiniews_results_wer.tsv zadanie3/wikiniews_results.tsv
|
||||||
|
|
||||||
## SSR
|
## SSR
|
||||||
cat zadanie3/sclite.txt | grep -e "Scores: " | awk '{ if ($7 == 0 && $8 == 0 && $9 == 0) print 1 }' | wc -l > zadanie3/ssr.txt
|
cat zadanie3/sclite.txt | grep -e "Scores: " | awk '{all++ ; if ($7 == 0 && $8 == 0 && $9 == 0) good++ } END { print good/all }' | wc -l > zadanie3/ssr.txt
|
||||||
|
|
||||||
## AVG
|
## AVG
|
||||||
cat zadanie3/wikiniews_results_wer.tsv | awk '{ sum+=$1 } END { print sum/NR}' | wc -l > zadanie3/avg.txt
|
cat zadanie3/wikiniews_results_wer.tsv | awk '{ nr++; sum+=$1 } END { print sum/nr}' | wc -l > zadanie3/avg.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user