txt to trn
This commit is contained in:
parent
fe13f07ac9
commit
c1d18f1007
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -8,7 +8,8 @@ pipeline {
|
||||
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
||||
sh label: '', script: 'chmod a+rwx script.sh'
|
||||
sh label: '', script: './script.sh'
|
||||
archiveArtifacts 'linecount.txt'
|
||||
archiveArtifacts 'hypothesis.trn'
|
||||
archiveArtifacts 'reference.trn'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,2 +1,6 @@
|
||||
#!/bin/sh
|
||||
wc -l wikiniews_results.tsv > linecount.txt
|
||||
# wc -l wikiniews_results.tsv > linecount.txt
|
||||
cut --fields=2 wikiniews_results.tsv > hypothesis.txt
|
||||
cut --fields=3 wikiniews_results.tsv > reference.txt
|
||||
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
|
Loading…
Reference in New Issue
Block a user