sclite
This commit is contained in:
parent
e47ba086c1
commit
71416d2e80
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@ -11,6 +11,7 @@ pipeline {
|
||||
archiveArtifacts 'liczbalinijek.txt'
|
||||
archiveArtifacts 'hypothesis.txt'
|
||||
archiveArtifacts 'reference.txt'
|
||||
archiveArtifacts 'Sclite'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2,3 +2,6 @@ wc -l wikiniews_results.tsv > liczbalinijek.txt
|
||||
|
||||
cut -f2 wikiniews_results.tsv > hypothesis.txt
|
||||
cut -f3 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
|
||||
sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout > Sclite
|
Loading…
Reference in New Issue
Block a user