diff --git a/line_counter.sh b/line_counter.sh index b7e2cc2..ea4d99b 100644 --- a/line_counter.sh +++ b/line_counter.sh @@ -6,8 +6,7 @@ cut -f2 wikiniews_results.tsv > hypothesis.txt awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < reference.txt > reference.trn awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < hypothesis.txt > hypothesis.trn -sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout +sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout > example.txt -head -15 reference.trn -head -15 hypothesis.trn +head -15 example.txt