save results

This commit is contained in:
s407323 2019-04-26 15:21:53 +02:00
parent 9ed2acc925
commit 0dc5ead5b5
2 changed files with 5 additions and 1 deletions

4
Jenkinsfile vendored
View File

@ -32,6 +32,10 @@ pipeline {
steps {
sh 'chmod 755 ./zadanie3/trn.sh'
sh './zadanie3/trn.sh'
archiveArtifacts 'zadanie3/hypothesis.trn'
archiveArtifacts 'zadanie3/reference.trn'
archiveArtifacts 'zadanie3/results.txt'
archiveArtifacts 'zadanie3/results-p.txt'
}
}
}

View File

@ -5,5 +5,5 @@ cut -f 3 ASR-eval/wikiniews_results.tsv > zadanie3/reference.txt
awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < zadanie3/hypothesis.txt > zadanie3/hypothesis.trn
awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < zadanie3/reference.txt > zadanie3/reference.trn
sclite -f 0 -r zadanie3/reference.trn trn -h zadanie3/hypothesis.trn trn -e utf-8 -i rm -o all stdoutp > zadanie3/results.txt
sclite -f 0 -r zadanie3/reference.trn trn -h zadanie3/hypothesis.trn trn -e utf-8 -i rm -o all stdout > zadanie3/results.txt
sclite -f 0 -r zadanie3/reference.trn trn -h zadanie3/hypothesis.trn trn -e utf-8 -i rm -o all -p > zadanie3/results-p.txt