diff options
author | Chris Dyer <redpony@gmail.com> | 2009-12-04 20:32:11 -0500 |
---|---|---|
committer | Chris Dyer <redpony@gmail.com> | 2009-12-04 20:32:11 -0500 |
commit | 8780a924a060ced3468b71a088409d5ef83fc985 (patch) | |
tree | 0ee244184aa61b39f3bf0cea8922f0d4f97ed364 /tests/system_tests/controlled_synparse | |
parent | 5361a6412834485dfd268b6a0fa4144d636f425f (diff) |
oops, forgot to add tests
Diffstat (limited to 'tests/system_tests/controlled_synparse')
-rw-r--r-- | tests/system_tests/controlled_synparse/cdec.ini | 3 | ||||
-rw-r--r-- | tests/system_tests/controlled_synparse/gold.statistics | 16 | ||||
-rw-r--r-- | tests/system_tests/controlled_synparse/gold.stdout | 36 | ||||
-rw-r--r-- | tests/system_tests/controlled_synparse/input.txt | 2 | ||||
-rw-r--r-- | tests/system_tests/controlled_synparse/scfg.biparse.gz | bin | 0 -> 141 bytes |
5 files changed, 57 insertions, 0 deletions
diff --git a/tests/system_tests/controlled_synparse/cdec.ini b/tests/system_tests/controlled_synparse/cdec.ini new file mode 100644 index 00000000..b5c7d4d8 --- /dev/null +++ b/tests/system_tests/controlled_synparse/cdec.ini @@ -0,0 +1,3 @@ +formalism=scfg +grammar=scfg.biparse.gz +k_best=100 diff --git a/tests/system_tests/controlled_synparse/gold.statistics b/tests/system_tests/controlled_synparse/gold.statistics new file mode 100644 index 00000000..3885cf94 --- /dev/null +++ b/tests/system_tests/controlled_synparse/gold.statistics @@ -0,0 +1,16 @@ +-lm_nodes 11 +-lm_edges 18 +-lm_paths 18 +-lm_trans a d c b +-lm_trans 0 +constr_nodes 8 +constr_edges 8 +constr_paths 1 +-lm_nodes 11 +-lm_edges 18 +-lm_paths 18 +-lm_trans a d c b +-lm_trans 0 +constr_nodes 12 +constr_edges 14 +constr_paths 3 diff --git a/tests/system_tests/controlled_synparse/gold.stdout b/tests/system_tests/controlled_synparse/gold.stdout new file mode 100644 index 00000000..f3e0ce08 --- /dev/null +++ b/tests/system_tests/controlled_synparse/gold.stdout @@ -0,0 +1,36 @@ +0 ||| c b c d ||| F1bad2=1;F5=1;F6=1;F7=1;Glue=3 +0 ||| c d c b e ||| F1bad2=1;F4=1;F5=1;F7=1;Glue=1 +0 ||| c b c d ||| F1bad2=1;F6=1;F7=1;F9=1;Glue=2 +0 ||| b d c b e ||| F1bad1=1;F4=1;F5=1;F7=1;Glue=1 +0 ||| c b c d ||| F1bad2=1;F3=1;F5=1;F7=1;Glue=1 +0 ||| a d c b e ||| F1=1;F4=1;F5=1;F7=1;Glue=1 +0 ||| b b c d ||| F1bad1=1;F3=1;F5=1;F7=1;Glue=1 +0 ||| c d c b ||| F1bad2=1;F2=1;F5=1;F7=1;Glue=1 +0 ||| a b c d ||| F1=1;F3=1;F5=1;F7=1;Glue=1 +0 ||| b b c d ||| F1bad1=1;F5=1;F6=1;F7=1;Glue=3 +0 ||| b d c b ||| F1bad1=1;F2=1;F5=1;F7=1;Glue=1 +0 ||| a d c b ||| F1=1;F2=1;F5=1;F7=1;Glue=1 +0 ||| b b c d ||| F1bad1=1;F6=1;F7=1;F9=1;Glue=2 +0 ||| c c b d ||| F1bad2=1;F6=1;F7=1;F8=1;Glue=2 +0 ||| a b c d ||| F1=1;F6=1;F7=1;F9=1;Glue=2 +0 ||| a b c d ||| F1=1;F5=1;F6=1;F7=1;Glue=3 +0 ||| b c b d ||| F1bad1=1;F6=1;F7=1;F8=1;Glue=2 +0 ||| a c b d ||| F1=1;F6=1;F7=1;F8=1;Glue=2 +1 ||| c b c d ||| F1bad2=1;F5=1;F6=1;F7=1;Glue=3 +1 ||| c d c b e ||| F1bad2=1;F4=1;F5=1;F7=1;Glue=1 +1 ||| c b c d ||| F1bad2=1;F6=1;F7=1;F9=1;Glue=2 +1 ||| b d c b e ||| F1bad1=1;F4=1;F5=1;F7=1;Glue=1 +1 ||| c b c d ||| F1bad2=1;F3=1;F5=1;F7=1;Glue=1 +1 ||| a d c b e ||| F1=1;F4=1;F5=1;F7=1;Glue=1 +1 ||| b b c d ||| F1bad1=1;F3=1;F5=1;F7=1;Glue=1 +1 ||| c d c b ||| F1bad2=1;F2=1;F5=1;F7=1;Glue=1 +1 ||| a b c d ||| F1=1;F3=1;F5=1;F7=1;Glue=1 +1 ||| b b c d ||| F1bad1=1;F5=1;F6=1;F7=1;Glue=3 +1 ||| b d c b ||| F1bad1=1;F2=1;F5=1;F7=1;Glue=1 +1 ||| a d c b ||| F1=1;F2=1;F5=1;F7=1;Glue=1 +1 ||| b b c d ||| F1bad1=1;F6=1;F7=1;F9=1;Glue=2 +1 ||| c c b d ||| F1bad2=1;F6=1;F7=1;F8=1;Glue=2 +1 ||| a b c d ||| F1=1;F6=1;F7=1;F9=1;Glue=2 +1 ||| a b c d ||| F1=1;F5=1;F6=1;F7=1;Glue=3 +1 ||| b c b d ||| F1bad1=1;F6=1;F7=1;F8=1;Glue=2 +1 ||| a c b d ||| F1=1;F6=1;F7=1;F8=1;Glue=2 diff --git a/tests/system_tests/controlled_synparse/input.txt b/tests/system_tests/controlled_synparse/input.txt new file mode 100644 index 00000000..2dbc09c8 --- /dev/null +++ b/tests/system_tests/controlled_synparse/input.txt @@ -0,0 +1,2 @@ +A B C D ||| a d c b +A B C D ||| a b c d diff --git a/tests/system_tests/controlled_synparse/scfg.biparse.gz b/tests/system_tests/controlled_synparse/scfg.biparse.gz Binary files differnew file mode 100644 index 00000000..aaf1c41d --- /dev/null +++ b/tests/system_tests/controlled_synparse/scfg.biparse.gz |