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

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorredpony <redpony@1f5c12ca-751b-0410-a591-d2e778427230>2007-11-11 02:19:41 +0300
committerredpony <redpony@1f5c12ca-751b-0410-a591-d2e778427230>2007-11-11 02:19:41 +0300
commit9521e78fbf72343670c49201418f4cc19b7ff299 (patch)
treeee47c77bd2a8dcaf121de1e0c9917fae0e392776 /regression-testing
parent80d66757c63b11d124ac9b356aa9e6ab7d5c203d (diff)
add functionalty to support adding direct translation (ie, passthrouh) even when there are other translation options available for the span.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1510 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'regression-testing')
-rwxr-xr-xregression-testing/run-test-suite.pl2
-rw-r--r--regression-testing/tests/lattice-distortion/truth/results.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/regression-testing/run-test-suite.pl b/regression-testing/run-test-suite.pl
index c7476c5d9..49c41ec6c 100755
--- a/regression-testing/run-test-suite.pl
+++ b/regression-testing/run-test-suite.pl
@@ -24,7 +24,7 @@ my @tests = qw (
xml-markup
);
############################################################
-#@tests=qw(xml-markup);
+#@tests=qw(lattice-distortion);
use MosesRegressionTesting;
use File::Temp qw ( tempfile );
use POSIX qw ( strftime );
diff --git a/regression-testing/tests/lattice-distortion/truth/results.txt b/regression-testing/tests/lattice-distortion/truth/results.txt
index e3da5a06e..032f59c77 100644
--- a/regression-testing/tests/lattice-distortion/truth/results.txt
+++ b/regression-testing/tests/lattice-distortion/truth/results.txt
@@ -24,6 +24,8 @@ TRANSLATION_2_NBEST_1=1 2 3 ||| d: 0 lm: -6.08823 I: 0 tm: -6.90776 -6.90776 w:
TRANSLATION_2_NBEST_2=2 3 1 ||| d: -2 lm: -9.26988 I: 0 tm: -6.90776 -6.90776 w: -3
TRANSLATION_2_NBEST_3=1 3 2 ||| d: -3 lm: -10.7767 I: 0 tm: -6.90776 -6.90776 w: -3
TRANSLATION_2_NBEST_4=3 1 2 ||| d: -3 lm: -10.9714 I: 0 tm: -6.90776 -6.90776 w: -3
+TRANSLATION_2_NBEST_5=NOT_FOUND 3 ||| d: 0 lm: -105.485 I: 0 tm: -2.30259 -2.30259 w: -2
+TRANSLATION_2_NBEST_6=3 NOT_FOUND ||| d: -3 lm: -105.49 I: 0 tm: -2.30259 -2.30259 w: -2
TRANSLATION_3_NBEST_1=1 2 3 ||| d: 0 lm: -6.08823 I: 0 tm: -6.90776 -6.90776 w: -3
TRANSLATION_3_NBEST_2=1 3 2 ||| d: -1 lm: -10.7767 I: 0 tm: -6.90776 -6.90776 w: -3
TRANSLATION_3_NBEST_3=1 12 ||| d: 0 lm: -9.28642 I: 0 tm: -4.60517 -4.60517 w: -2