diff --git a/evaluation.sh b/evaluation.sh index 34fe051..1497270 100644 --- a/evaluation.sh +++ b/evaluation.sh @@ -10,4 +10,6 @@ sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all std cat sclite_results.txt | grep -oP '(?<=Scores: \(#C #S #D #I\) ).*' > to_wer.txt -awk '{ print ($2 + $3 + $4)/($2 + $3 + $1)}' to_wer.txt > wer.txt \ No newline at end of file +awk '{ print ($2 + $3 + $4)/($2 + $3 + $1)}' to_wer.txt > wer.txt + +paste $file1 wer.txt > wikiniews_results2.tsv \ No newline at end of file