zadanie3 test11
This commit is contained in:
parent
71379a1d1d
commit
88b36f465c
6
count.sh
6
count.sh
@ -5,8 +5,4 @@ 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: ")
|
sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout | grep "Scores: " > output.txt
|
||||||
while read var ; do
|
|
||||||
echo "$var"
|
|
||||||
done
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user