metryki
This commit is contained in:
parent
71fae9f14e
commit
5bf1ff8578
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@ -11,6 +11,7 @@ pipeline {
|
||||
sh('chmod +x ./lines.sh')
|
||||
sh('./lines.sh')
|
||||
archiveArtifacts 'lines_number.txt'
|
||||
archiveArtifacts 'WER.txt'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
2
lines.sh
2
lines.sh
@ -6,4 +6,4 @@ cut -f2 wikiniews_results.tsv > hypothesis.txt
|
||||
awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < reference.txt > reference.trn
|
||||
awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < hypothesis.txt > hypothesis.trn
|
||||
|
||||
sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout > sclite.txt
|
||||
sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout > WER.txt
|
||||
|
Loading…
Reference in New Issue
Block a user