diff --git a/counter.sh b/counter.sh index a9f6ddc..a65f51a 100644 --- a/counter.sh +++ b/counter.sh @@ -1,2 +1 @@ -sclite -r wikiniews_results.tsv -sclite -r wikiniews_results.tsv >> output.txt \ No newline at end of file +awk '{print gensub("^\\*\\*", "\\\\**", "g", $0) "\t(sp1_"NR")"}' < reference.txt > reference.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