summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2009-12-18 01:37:21 -0500
committerChris Dyer <redpony@gmail.com>2009-12-18 01:37:21 -0500
commitb0def329260a83da70ceffd503207fc590502a7b (patch)
tree0cd22815d62c46d28d20eeca5510c0716729fddd
parent1aac806af7785ab440d300ca5cfa8833e3ed61d3 (diff)
fix test failures due to changing feature order
-rw-r--r--tests/system_tests/ftrans/gold.stdout4
-rw-r--r--tests/system_tests/ftrans/weights2
-rw-r--r--tests/system_tests/lattice/gold.stdout10
-rw-r--r--tests/system_tests/lattice/weights1
4 files changed, 10 insertions, 7 deletions
diff --git a/tests/system_tests/ftrans/gold.stdout b/tests/system_tests/ftrans/gold.stdout
index d4e48533..b81534fc 100644
--- a/tests/system_tests/ftrans/gold.stdout
+++ b/tests/system_tests/ftrans/gold.stdout
@@ -1,4 +1,4 @@
0 ||| CB ||| F4=1;Inv=1 ||| 101
0 ||| BC ||| F3=0.4;Mono=1 ||| 6
-0 ||| B C ||| F1=1;OtherFeat=1;F2=0.2;Mono=1 ||| 3
-0 ||| C B ||| F1=1;OtherFeat=1;F2=0.2;Inv=1 ||| 2
+0 ||| B C ||| F1=1;F2=0.2;OtherFeat=1;Mono=1 ||| 3
+0 ||| C B ||| F1=1;F2=0.2;OtherFeat=1;Inv=1 ||| 2
diff --git a/tests/system_tests/ftrans/weights b/tests/system_tests/ftrans/weights
index 89d3a6d3..8b321966 100644
--- a/tests/system_tests/ftrans/weights
+++ b/tests/system_tests/ftrans/weights
@@ -1,5 +1,7 @@
F1 1
+F2 0
F3 10
F4 100
+OtherFeat 0
Mono 2
Inv 1
diff --git a/tests/system_tests/lattice/gold.stdout b/tests/system_tests/lattice/gold.stdout
index 84f8ea78..1a609df0 100644
--- a/tests/system_tests/lattice/gold.stdout
+++ b/tests/system_tests/lattice/gold.stdout
@@ -1,5 +1,5 @@
-0 ||| ab ||| Cost=0.1;WordPenalty=-0.434294;SourceWordPenalty=-0.434294;LatticeCost=0.125 ||| -1.09359
-0 ||| cb ||| Cost=0.3;WordPenalty=-0.434294;SourceWordPenalty=-0.868589;LatticeCost=2.25 ||| -3.85288
-0 ||| a_b ||| Cost=0.2;WordPenalty=-0.434294;SourceWordPenalty=-0.868589;LatticeCost=2.5 ||| -4.00288
-0 ||| a b ||| Cost=0.3;Glue=1;WordPenalty=-0.868589;SourceWordPenalty=-0.868589;LatticeCost=2.5 ||| -4.53718
-0 ||| a' b ||| Cost=0.3;Glue=1;WordPenalty=-0.868589;SourceWordPenalty=-0.868589;LatticeCost=2.5 ||| -4.53718
+0 ||| ab ||| WordPenalty=-0.434294;SourceWordPenalty=-0.434294;Cost=0.1;LatticeCost=0.125 ||| -1.09359
+0 ||| cb ||| WordPenalty=-0.434294;SourceWordPenalty=-0.868589;Cost=0.3;LatticeCost=2.25 ||| -3.85288
+0 ||| a_b ||| WordPenalty=-0.434294;SourceWordPenalty=-0.868589;Cost=0.2;LatticeCost=2.5 ||| -4.00288
+0 ||| a b ||| WordPenalty=-0.868589;SourceWordPenalty=-0.868589;Glue=1;Cost=0.3;LatticeCost=2.5 ||| -4.53718
+0 ||| a' b ||| WordPenalty=-0.868589;SourceWordPenalty=-0.868589;Glue=1;Cost=0.3;LatticeCost=2.5 ||| -4.53718
diff --git a/tests/system_tests/lattice/weights b/tests/system_tests/lattice/weights
index 4746ff45..cb59b27b 100644
--- a/tests/system_tests/lattice/weights
+++ b/tests/system_tests/lattice/weights
@@ -1,4 +1,5 @@
WordPenalty 1
SourceWordPenalty 1
+Glue 0
Cost -1
LatticeCost -1