This commit is contained in:
laskau 2019-04-26 13:05:18 +02:00
parent 39a3cec127
commit 900a44090e
3 changed files with 14 additions and 0 deletions

6
Jenkinsfile vendored
View File

@ -32,6 +32,12 @@ pipeline {
} }
} }
stage('WER & SRR') {
steps {
sh 'sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout'
}
}
} }
} }

4
metryki.sh Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
awk '{print gensub("^\\*\\*", "\\\\**", "g", $0) "\t(sp1_"NR")"}' < reference.txt > reference.trn

4
reference.txt Normal file
View File

@ -0,0 +1,4 @@
test
test
test
test1