jenkinsfile
This commit is contained in:
parent
adde8222d3
commit
18246174a8
@ -2,6 +2,7 @@ FROM ubuntu:latest
|
||||
|
||||
RUN apt update -y && apt install -y make
|
||||
RUN apt install -y git
|
||||
RUN apt install -y python
|
||||
RUN apt install -y gcc
|
||||
RUN gcc --version
|
||||
RUN apt install -y build-essential
|
||||
|
@ -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")"}' < 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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user