Add appending to wer and srr
This commit is contained in:
parent
273cac1b98
commit
b9d52bf3d8
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@ -9,6 +9,7 @@ pipeline {
|
||||
stage('copyArtifacts') {
|
||||
steps {
|
||||
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval/'
|
||||
copyArtifacts filter: 'wer.txt, srr.txt', fingerprintArtifacts: true, projectName: 's407599-metrics'
|
||||
}
|
||||
}
|
||||
stage('Shell script') {
|
||||
|
@ -6,8 +6,8 @@ if __name__ == '__main__':
|
||||
correct_sentences = 0
|
||||
|
||||
with open(sys.argv[1], 'r') as sclite_result, \
|
||||
open('wer.txt', 'w') as wer, \
|
||||
open('srr.txt', 'w') as srr:
|
||||
open('wer.txt', 'a+') as wer, \
|
||||
open('srr.txt', 'a+') as srr:
|
||||
|
||||
for line in sclite_result:
|
||||
complited = False
|
||||
|
Loading…
Reference in New Issue
Block a user