summaryrefslogtreecommitdiff
path: root/tests/system_tests/mcle_gradient
diff options
context:
space:
mode:
authorredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-06-22 05:12:27 +0000
committerredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-06-22 05:12:27 +0000
commit0172721855098ca02b207231a654dffa5e4eb1c9 (patch)
tree8069c3a62e2d72bd64a2cdeee9724b2679c8a56b /tests/system_tests/mcle_gradient
parent37728b8be4d0b3df9da81fdda2198ff55b4b2d91 (diff)
initial checkin
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@2 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'tests/system_tests/mcle_gradient')
-rw-r--r--tests/system_tests/mcle_gradient/cdec.ini6
-rw-r--r--tests/system_tests/mcle_gradient/gold.statistics24
-rw-r--r--tests/system_tests/mcle_gradient/gold.stdout1
-rw-r--r--tests/system_tests/mcle_gradient/input.txt3
-rw-r--r--tests/system_tests/mcle_gradient/test.grammar.gzbin0 -> 213 bytes
-rw-r--r--tests/system_tests/mcle_gradient/weights16
6 files changed, 50 insertions, 0 deletions
diff --git a/tests/system_tests/mcle_gradient/cdec.ini b/tests/system_tests/mcle_gradient/cdec.ini
new file mode 100644
index 00000000..10a588f5
--- /dev/null
+++ b/tests/system_tests/mcle_gradient/cdec.ini
@@ -0,0 +1,6 @@
+cll_gradient=true
+combine_size=100
+vector_format=text
+formalism=scfg
+scfg_no_hiero_glue_grammar=true
+grammar=test.grammar.gz
diff --git a/tests/system_tests/mcle_gradient/gold.statistics b/tests/system_tests/mcle_gradient/gold.statistics
new file mode 100644
index 00000000..94af9d7d
--- /dev/null
+++ b/tests/system_tests/mcle_gradient/gold.statistics
@@ -0,0 +1,24 @@
+-lm_nodes 4
+-lm_edges 8
+-lm_paths 5
+-lm_trans A
+-lm_trans 0.652536
+constr_nodes 5
+constr_edges 6
+constr_paths 2
+-lm_nodes 4
+-lm_edges 8
+-lm_paths 5
+-lm_trans A
+-lm_trans 0.652536
+constr_nodes 5
+constr_edges 5
+constr_paths 1
+-lm_nodes 7
+-lm_edges 17
+-lm_paths 15
+-lm_trans C A
+-lm_trans 0.74624
+constr_nodes 8
+constr_edges 13
+constr_paths 6
diff --git a/tests/system_tests/mcle_gradient/gold.stdout b/tests/system_tests/mcle_gradient/gold.stdout
new file mode 100644
index 00000000..cc0bd08c
--- /dev/null
+++ b/tests/system_tests/mcle_gradient/gold.stdout
@@ -0,0 +1 @@
+0 **OBJ**=3.05441;RewriteXY=-0.123601;SomeFeat=0.431589;F1=0.139951;F2=0.05909;F3=-0.116843;F4=0.106688;F5=0.0811144;F6=-0.257667;F7=-0.0224891;F8=0.118842;F9=-0.545223;F10=0.473137;F11=0.0176334;F12=-0.210479;F13=0.0162935
diff --git a/tests/system_tests/mcle_gradient/input.txt b/tests/system_tests/mcle_gradient/input.txt
new file mode 100644
index 00000000..a23bc339
--- /dev/null
+++ b/tests/system_tests/mcle_gradient/input.txt
@@ -0,0 +1,3 @@
+a ||| A
+a ||| A B C
+a b ||| A B
diff --git a/tests/system_tests/mcle_gradient/test.grammar.gz b/tests/system_tests/mcle_gradient/test.grammar.gz
new file mode 100644
index 00000000..0ee472a1
--- /dev/null
+++ b/tests/system_tests/mcle_gradient/test.grammar.gz
Binary files differ
diff --git a/tests/system_tests/mcle_gradient/weights b/tests/system_tests/mcle_gradient/weights
new file mode 100644
index 00000000..2f14e6bd
--- /dev/null
+++ b/tests/system_tests/mcle_gradient/weights
@@ -0,0 +1,16 @@
+RewriteXY 0.2
+Top 0
+SomeFeat 0.3353
+F1 0.63643
+F2 -0.1313
+F3 -0.1122
+F4 0.6123
+F5 0.2311
+F6 0.4133
+F7 -0.6161
+F8 0.1214
+F9 0.16
+F10 0.14251
+F11 -0.1525
+F12 0.2
+F13 0.002