From b2bbd584be212eda30f249fa4b2c348f256fe98b Mon Sep 17 00:00:00 2001 From: laskau Date: Fri, 26 Apr 2019 13:35:21 +0200 Subject: [PATCH] Metryki5 --- Jenkinsfile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 1e6416c..243e2af 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -32,6 +32,16 @@ pipeline { } } + stage('WER & SRR') { + steps { + sh 'cat Infra/wikiniews_results.tsv | cut -d ',' -f3 > reference.txt' + sh 'cat Infra/wikiniews_results.tsv | cut -d ',' -f2 > hypothesis.txt' + sh 'sh metryki.sh' reference.txt reference.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' + } + } + } }