jenkinsfile

This commit is contained in:
unknown 2020-04-03 13:46:43 +02:00
parent adde8222d3
commit 18246174a8
2 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,7 @@ FROM ubuntu:latest
RUN apt update -y && apt install -y make RUN apt update -y && apt install -y make
RUN apt install -y git RUN apt install -y git
RUN apt install -y python
RUN apt install -y gcc RUN apt install -y gcc
RUN gcc --version RUN gcc --version
RUN apt install -y build-essential RUN apt install -y build-essential

View File

@ -6,6 +6,8 @@ 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")"}' < 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")"}' < hypothesis.txt > hypothesis.trn
python ./createWERandSRRFiles.py < sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout > helper.txt
python ./createWERandSRRFiles.py < helper.txt