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:
authorMatthias Huck <huck@i6.informatik.rwth-aachen.de>2014-01-29 23:24:16 +0400
committerMatthias Huck <huck@i6.informatik.rwth-aachen.de>2014-01-29 23:24:16 +0400
commit4fa6c60456294e5400df2a90b65ba2bd04251dde (patch)
tree1890b6cfa33c2ea86b06fe0faf0cb1dc8948068d
parentf1c2b3a2173049a7acbcaf8f096ac9cb3b3e8472 (diff)
ties: new version of the `score` tool chooses a different word alignment
in some cases (e.g. the one from this regression test)
-rw-r--r--models/score.phrase-based/extract.sorted2
-rw-r--r--tests/score.phrase-based-with-alignment/truth/results.txt4
2 files changed, 3 insertions, 3 deletions
diff --git a/models/score.phrase-based/extract.sorted b/models/score.phrase-based/extract.sorted
index 3b688cd..8e5e2cb 100644
--- a/models/score.phrase-based/extract.sorted
+++ b/models/score.phrase-based/extract.sorted
@@ -411,7 +411,7 @@
! " ||| " . ||| 1-0 0-1
! " ||| " . ||| 1-0 0-1
! " ||| " ||| 0-0 1-0
-! " ||| " ||| 1-0
+! " ||| " ||| 0-0 1-0
! " ||| ' ! ||| 1-0 0-1
! " ||| ' ! ||| 1-0 0-1
! " ||| ' , ||| 1-0 0-1
diff --git a/tests/score.phrase-based-with-alignment/truth/results.txt b/tests/score.phrase-based-with-alignment/truth/results.txt
index 84cc804..54a417c 100644
--- a/tests/score.phrase-based-with-alignment/truth/results.txt
+++ b/tests/score.phrase-based-with-alignment/truth/results.txt
@@ -224,7 +224,7 @@
! " ||| ! " ||| 0.00917533 ||| 0-0 1-1 ||| 233 29
! " ||| ! ' ' really ? ' ||| 0.0150846 ||| 0-0 1-1 1-2 0-3 0-4 1-5 ||| 233 1
! " ||| ! ' , ||| 0.0449274 ||| 0-0 1-1 ||| 233 1
-! " ||| ! ' . ||| 0.0449274 ||| 0-0 1-1 ||| 233 4
+! " ||| ! ' . ||| 0.0449274 ||| 0-0 1-1 0-2 ||| 233 4
! " ||| ! ' ||| 0.0449274 ||| 0-0 1-1 ||| 233 101
! " ||| ! .... ' ||| 0.0449274 ||| 0-0 1-2 ||| 233 1
! " ||| ! ||| 0.0775352 ||| 0-0 ||| 233 7
@@ -1206,7 +1206,7 @@
! Kommissar Patten meinte , wir ||| , Commissioner Patten said that we ||| 1 ||| 0-0 1-1 2-2 3-3 4-4 5-5 ||| 1 1
! Kommissar Patten meinte , ||| , Commissioner Patten said that ||| 1 ||| 0-0 1-1 2-2 3-3 4-4 ||| 1 1
! Kommissar Patten meinte ||| , Commissioner Patten said ||| 1 ||| 0-0 1-1 2-2 3-3 ||| 1 1
-! Kommissar Patten ||| , Commissioner Patten ||| 1 ||| 0-0 0-1 1-1 2-2 ||| 2 2
+! Kommissar Patten ||| , Commissioner Patten ||| 1 ||| 0-0 1-1 2-2 ||| 2 2
! Kommissar Verheugen hat soeben ||| , Commissioner Verheugen has just ||| 1 ||| 0-0 1-1 2-2 3-3 4-4 ||| 1 1
! Kommissar Verheugen hat ||| , Commissioner Verheugen has ||| 1 ||| 0-0 1-1 2-2 3-3 ||| 1 1
! Kommissar Verheugen ||| , Commissioner Verheugen ||| 1 ||| 0-0 1-1 2-2 ||| 1 1