s407323-mlworkshops/zadanie3/grep.sh

6 lines
304 B
Bash
Raw Normal View History

2019-04-26 16:01:09 +02:00
# (S + D + I)/(S + D + C)
2019-04-26 16:15:39 +02:00
cat zadanie3/sclite.txt | grep -e "Scores: " | awk '{ print 100.0 * ($7 + $8 + $9) / ($7 + $8 + $6) }' > zadanie3/wikiniews_results_wer.tsv
2019-04-26 16:01:09 +02:00
2019-04-26 16:15:39 +02:00
cp ASR-eval/wikiniews_results.tsv zadanie3/wikiniews_results.tsv
2019-04-26 16:23:39 +02:00
paste zadanie3/wikiniews_results_wer.tsv zadanie3/wikiniews_results.tsv