zadanie3 test9
This commit is contained in:
parent
8bdb10f474
commit
d32fb8cf0c
5
count.sh
5
count.sh
@ -5,6 +5,5 @@ cut -f3 -s wikiniews_results.tsv > referencje.txt
|
|||||||
awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < referencje.txt > reference.trn
|
awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < referencje.txt > reference.trn
|
||||||
awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < hipotezy.txt > hypothesis.trn
|
awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < hipotezy.txt > hypothesis.trn
|
||||||
|
|
||||||
var=$(sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout | grep "Scores: ")
|
cut -c 23 < sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout | grep "Scores: "
|
||||||
var=${var:5}
|
|
||||||
echo "$var"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user