Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/marian-regression-tests.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/decoder/align/run_amun_align.sh')
-rw-r--r--tests/decoder/align/run_amun_align.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/decoder/align/run_amun_align.sh b/tests/decoder/align/run_amun_align.sh
index 0b158b8..cdec4b9 100644
--- a/tests/decoder/align/run_amun_align.sh
+++ b/tests/decoder/align/run_amun_align.sh
@@ -7,9 +7,10 @@ set -e
test -e $MRT_MARIAN/build/amun || exit $EXIT_CODE_SKIP
# Test code goes here
-$MRT_MARIAN/build/amun -c $MRT_MODELS/wmt16_systems/amun.en-de.yml --return-alignment -b 1 < text.in > amun.align.out
-#cat amun.align.out | sed 's/ ||| /\t/' | cut -f1 > amun.out
-#diff amun.align.out amun.align.expected > amun.align.diff
+B=5
+$MRT_MARIAN/build/amun -c $MRT_MODELS/wmt16_systems/amun.en-de.yml --return-alignment -b $B < text.in > amun.align.out
+$MRT_MARIAN/build/amun -c $MRT_MODELS/wmt16_systems/amun.en-de.yml --return-soft-alignment -b $B < text.in > amun.soft.out
+$MRT_MARIAN/build/amun -c $MRT_MODELS/wmt16_systems/amun.en-de.yml --return-nematus-alignment -b $B < text.in > amun.nematus.out
# Exit with success code
exit 0