Ex.3 fixed typo

This commit is contained in:
Artur Nowakowski 2020-04-03 13:00:43 +02:00
parent 5a99a4ef57
commit e203493f11
2 changed files with 2 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -22,7 +22,7 @@ pipeline {
sh label: '', script: './count_metrics.sh wikiniews_results.tsv' sh label: '', script: './count_metrics.sh wikiniews_results.tsv'
archiveArtifacts 'srr.txt' archiveArtifacts 'srr.txt'
archiveArtifacts 'wer.txt' archiveArtifacts 'wer.txt'
archiveArtifacts 'wikiniews_results_with_wer.txt' archiveArtifacts 'wikiniews_results_with_wer.tsv'
} }
} }
stage('Archive results'){ stage('Archive results'){

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# create trn # create trn
cut -f2 $1| awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' > hypothesis.trn cut -f2 $1 | awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' > hypothesis.trn
cut -f3 $1 | awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' > reference.trn cut -f3 $1 | awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' > reference.trn
#wer for each line #wer for each line