paste wer fix
This commit is contained in:
parent
bdd651ccde
commit
8c2c4634cb
@ -5,7 +5,7 @@
|
|||||||
cat zadanie3/sclite.txt | grep -e "Scores: " | awk '{ print ($7 + $8 + $9) / ($7 + $8 + $6) }' > zadanie3/wikiniews_results_wer.tsv
|
cat zadanie3/sclite.txt | grep -e "Scores: " | awk '{ print ($7 + $8 + $9) / ($7 + $8 + $6) }' > zadanie3/wikiniews_results_wer.tsv
|
||||||
|
|
||||||
cp ASR-eval/wikiniews_results.tsv zadanie3/wikiniews_results.tsv
|
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 > zadanie3/wikiniews_results.tsv
|
||||||
|
|
||||||
## SSR
|
## SSR
|
||||||
cat zadanie3/sclite.txt | grep -e "Scores: " | awk '{all++ ; if ($7 == 0 && $8 == 0 && $9 == 0) good += 1 } END { print good/all }' > zadanie3/ssr.txt
|
cat zadanie3/sclite.txt | grep -e "Scores: " | awk '{all++ ; if ($7 == 0 && $8 == 0 && $9 == 0) good += 1 } END { print good/all }' > zadanie3/ssr.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user