rename script
This commit is contained in:
parent
18a244b7d9
commit
36a5dad2e7
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -21,7 +21,7 @@ pipeline {
|
||||
|
||||
stage('Run script') {
|
||||
steps{
|
||||
sh 'sh test.sh text.txt out.txt'
|
||||
sh 'sh script.sh text.txt out.txt'
|
||||
archiveArtifacts artifacts: 'out.txt'
|
||||
}
|
||||
}
|
||||
@ -32,15 +32,7 @@ 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