This commit is contained in:
Kamil Paprota 2020-04-03 14:33:31 +02:00
parent 71fae9f14e
commit 5bf1ff8578
2 changed files with 2 additions and 1 deletions

1
Jenkinsfile vendored
View File

@ -11,6 +11,7 @@ pipeline {
sh('chmod +x ./lines.sh')
sh('./lines.sh')
archiveArtifacts 'lines_number.txt'
archiveArtifacts 'WER.txt'
}
}
}

View File

@ -6,4 +6,4 @@ 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.txt
sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout > WER.txt