Metryki1
This commit is contained in:
parent
39a3cec127
commit
900a44090e
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -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
4
metryki.sh
Executable 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
4
reference.txt
Normal file
@ -0,0 +1,4 @@
|
||||
test
|
||||
test
|
||||
test
|
||||
test1
|
Loading…
Reference in New Issue
Block a user