diff --git a/counter.sh b/counter.sh index 84fd95b..637b90d 100644 --- a/counter.sh +++ b/counter.sh @@ -1 +1,3 @@ awk '{print gensub("^\\*\\*", "\\\\**", "g", $0) "\t(sp1_"NR")"}' < wikiniews_results.tsv > reference.trn +awk '{print gensub("^\\*\\*", "\\\\**", "g", $1) "\t(sp1_"NR")"}' < wikiniews_results.tsv > hypothesis.trn +sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout \ No newline at end of file diff --git a/hypothesis.trn b/hypothesis.trn deleted file mode 100644 index e69de29..0000000