From 3c1ff58b6f9f61e9c0b5dc56b2bf5cfdad1f250d Mon Sep 17 00:00:00 2001 From: s460941 Date: Thu, 23 Apr 2020 21:21:31 +0200 Subject: [PATCH] message --- Jenkinsfile | 2 -- count.sh | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8e442e6..3e246f6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,8 +13,6 @@ pipeline { { steps { sh label:"", script:"bash ./count.sh" - archiveArtifacts 'hypothesis.txt' - archiveArtifacts 'reference.txt' archiveArtifacts 'lines_number.txt' archiveArtifacts 'wer_results.txt' archiveArtifacts 'wer.txt' diff --git a/count.sh b/count.sh index deaa3ad..8667987 100755 --- a/count.sh +++ b/count.sh @@ -5,8 +5,8 @@ echo $lines > "lines_number.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 +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 > Scores