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

github.com/moses-smt/moses-regression-tests.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <fishandfrolick@gmail.com>2012-07-16 01:45:36 +0400
committerHieu Hoang <fishandfrolick@gmail.com>2012-07-16 01:45:36 +0400
commit4e31ac89d2b8f1c7d9007a9c9c0c37bbba0899d5 (patch)
treef48bc0a81583d5a7f19d2caefabeb509b7f8e3c9
parent403a08d1567234c5118dc73f9e4f1660282e346a (diff)
small change for edge case when 2 pt entries with same source and target phrases have different alignments. pt.half and pt.half.inv pick entries with different alignments, which affects lexical probability choosen
-rw-r--r--tests/score.phrase-based-inv/truth/results.txt2
-rw-r--r--tests/score.phrase-based-with-alignment-inv/truth/results.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/score.phrase-based-inv/truth/results.txt b/tests/score.phrase-based-inv/truth/results.txt
index 216d9cd..3506381 100644
--- a/tests/score.phrase-based-inv/truth/results.txt
+++ b/tests/score.phrase-based-inv/truth/results.txt
@@ -119,7 +119,7 @@ zum Ziel kommen , ||| ! ' , ||| 1 ||| ||| 14 1
! “ ||| ! ' . nevertheless , ||| 0.883601 ||| ||| 1 1
! “ ||| ! ' . nevertheless ||| 0.883601 ||| ||| 1 1
! " . ||| ! ' . ||| 0.272342 ||| ||| 11 4
-! " ||| ! ' . ||| 0.272342 ||| ||| 11 4
+! " ||| ! ' . ||| 0.137031 ||| ||| 11 4
! ' ||| ! ' . ||| 0.883601 ||| ||| 11 1
! ||| ! ' . ||| 0.883601 ||| ||| 11 1
! “ ||| ! ' . ||| 0.883601 ||| ||| 11 1
diff --git a/tests/score.phrase-based-with-alignment-inv/truth/results.txt b/tests/score.phrase-based-with-alignment-inv/truth/results.txt
index 216d9cd..3506381 100644
--- a/tests/score.phrase-based-with-alignment-inv/truth/results.txt
+++ b/tests/score.phrase-based-with-alignment-inv/truth/results.txt
@@ -119,7 +119,7 @@ zum Ziel kommen , ||| ! ' , ||| 1 ||| ||| 14 1
! “ ||| ! ' . nevertheless , ||| 0.883601 ||| ||| 1 1
! “ ||| ! ' . nevertheless ||| 0.883601 ||| ||| 1 1
! " . ||| ! ' . ||| 0.272342 ||| ||| 11 4
-! " ||| ! ' . ||| 0.272342 ||| ||| 11 4
+! " ||| ! ' . ||| 0.137031 ||| ||| 11 4
! ' ||| ! ' . ||| 0.883601 ||| ||| 11 1
! ||| ! ' . ||| 0.883601 ||| ||| 11 1
! “ ||| ! ' . ||| 0.883601 ||| ||| 11 1