ert
This commit is contained in:
parent
87445a50b7
commit
bdeedbe366
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -19,7 +19,7 @@ pipeline {
|
||||
}
|
||||
stage('archiveArtifacts') {
|
||||
steps {
|
||||
archiveArtifacts 'countlines_result.txt'
|
||||
archiveArtifacts 'CountResult.txt'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
10
script.sh
10
script.sh
@ -1 +1,9 @@
|
||||
wc -l wikiniews_results.tsv > numberOfLines.txt
|
||||
wc -l wikiniews_results.tsv > CountResult.txt
|
||||
|
||||
cut -f2 wikiniews_results.tsv > hypothesis.txt
|
||||
cut -f3 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
|
||||
|
||||
sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout | grep 'Scores' > results
|
Loading…
Reference in New Issue
Block a user