This commit is contained in:
laskau 2019-04-26 13:36:25 +02:00
parent b2bbd584be
commit 18a244b7d9

4
Jenkinsfile vendored
View File

@ -36,8 +36,8 @@ pipeline {
steps { steps {
sh 'cat Infra/wikiniews_results.tsv | cut -d ',' -f3 > reference.txt' sh 'cat Infra/wikiniews_results.tsv | cut -d ',' -f3 > reference.txt'
sh 'cat Infra/wikiniews_results.tsv | cut -d ',' -f2 > hypothesis.txt' sh 'cat Infra/wikiniews_results.tsv | cut -d ',' -f2 > hypothesis.txt'
sh 'sh metryki.sh' reference.txt reference.trn sh 'sh metryki.sh reference.txt reference.trn'
sh 'sh metryki.sh' hypothesis.txt hypothesis.trn sh 'sh metryki.sh hypothesis.txt hypothesis.trn'
sh 'sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout' sh 'sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout'
} }
} }