Metryki5
This commit is contained in:
parent
2dc748bea2
commit
b2bbd584be
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user