This commit is contained in:
Ufnow 2020-04-21 23:32:46 +02:00
parent bdeedbe366
commit 3bae0e0f25
2 changed files with 10 additions and 1 deletions

9
Jenkinsfile vendored
View File

@ -20,6 +20,15 @@ pipeline {
stage('archiveArtifacts') { stage('archiveArtifacts') {
steps { steps {
archiveArtifacts 'CountResult.txt' archiveArtifacts 'CountResult.txt'
archiveArtifacts 'wyniki'
archiveArtifacts 'reference.txt'
archiveArtifacts 'hypothesis.trn'
archiveArtifacts 'hypothesis.txt'
archiveArtifacts 'reference.txt'
archiveArtifacts 'wer_all.txt'
archiveArtifacts 'wer.txt'
archiveArtifacts 'srr.txt'
archiveArtifacts 'wikinews_results.tsv'
} }
} }
} }

View File

@ -6,4 +6,4 @@ cut -f3 wikiniews_results.tsv > reference.txt
awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < hypothesis.txt > hypothesis.trn awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < hypothesis.txt > hypothesis.trn
awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < reference.txt > reference.trn awk 'BEGIN{FS=OFS="\t"}{print $0,"(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 | grep 'Scores' > results sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout | grep 'Scores' > wyniki