tA
This commit is contained in:
parent
34067373a9
commit
4bcc3481f8
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -6,5 +6,10 @@ archiveArtifacts 'output'
|
||||
def customImage = docker.build("my-custom-image")
|
||||
customImage.inside {
|
||||
sh 'echo aaaa'
|
||||
sh 'awk -f file.awk < wikiniews_results.tsv > hypothesis.txt'
|
||||
sh 'awk -f file2.awk < wikiniews_results.tsv > reference.txt'
|
||||
sh 'awk \'{print gensub("^\\*\\*", "\\\\**", "g", $0) "\t(sp1_"NR")"}\' < reference.txt > reference.trn
|
||||
sh 'awk \'{print gensub("^\\*\\*", "\\\\**", "g", $0) "\t(sp1_"NR")"}\' < hypothesis.txt > hypothesis.trn
|
||||
sh 'sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all srdout'
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user