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/test_align_threshold.sh')
-rw-r--r--tests/decoder/align/test_align_threshold.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/decoder/align/test_align_threshold.sh b/tests/decoder/align/test_align_threshold.sh
new file mode 100644
index 0000000..2ca014a
--- /dev/null
+++ b/tests/decoder/align/test_align_threshold.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+# Exit on error
+set -e
+
+# Test code goes here
+$MRT_MARIAN/build/marian-decoder -c $MRT_MODELS/wmt16_systems/marian.en-de.yml --mini-batch 16 -b 5 --alignment 0.35 < text.in > align_threshold.out
+diff align_threshold.out align_threshold.expected > align_threshold.diff
+
+# Exit with success code
+exit 0