awk in dockerfile
This commit is contained in:
parent
95b6b542c1
commit
56ed576ce4
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@ -12,4 +12,5 @@ node {
|
||||
sh 'chmod +x metrics_docker.sh'
|
||||
sh './metrics_docker.sh'
|
||||
}
|
||||
archive '*'
|
||||
}
|
||||
|
@ -15,8 +15,8 @@
|
||||
awk -F '\t' '{print $2}' < wikiniews_results.tsv > hypothesis.txt
|
||||
awk -F '\t' '{print $3}' < wikiniews_results.tsv > reference.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
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user