diff --git a/hypothesis.trn b/hypothesis.trn new file mode 100644 index 0000000..e69de29 diff --git a/hypothesis.txt b/hypothesis.txt new file mode 100644 index 0000000..e69de29 diff --git a/reference.trn b/reference.trn new file mode 100644 index 0000000..e69de29 diff --git a/reference.txt b/reference.txt new file mode 100644 index 0000000..e69de29 diff --git a/scores b/scores new file mode 100644 index 0000000..e69de29 diff --git a/script.sh b/script.sh index 5f35952..4a930ef 100644 --- a/script.sh +++ b/script.sh @@ -10,6 +10,8 @@ paste wikiniews_results.tsv wer.tsv > wikiniews_results_with_wer.tsv tail -n 50 wer.txt >> wer_tmp.txt rm wer.txt mv wer_tmp.txt wer.txt -tail -n 50 srr.txt >> srr.txt +tail -n 50 srr.txt >> srr_tmp.txt +rm srr.txt +mv srr_tmp.txt srr.txt awk 'BEGIN{FS=OFS="\t"}{ bad = bad + $1; all++ }END{ print bad/all }' < wer.tsv >> wer.txt awk 'BEGIN{FS=OFS="\t"}{ if ( $1 == 0 ) good++; all++ }END{ print good/all }' < wer.tsv >> srr.txt \ No newline at end of file diff --git a/srr.txt b/srr.txt new file mode 100644 index 0000000..e69de29 diff --git a/wer.tsv b/wer.tsv new file mode 100644 index 0000000..e69de29 diff --git a/wer.txt b/wer.txt new file mode 100644 index 0000000..e69de29 diff --git a/wikiniews_results_with_wer.tsv b/wikiniews_results_with_wer.tsv new file mode 100644 index 0000000..e69de29