From 7cc92b65a3185aa242088d830e166e495674efc9 Mon Sep 17 00:00:00 2001 From: redpony Date: Tue, 22 Jun 2010 05:12:27 +0000 Subject: initial checkin git-svn-id: https://ws10smt.googlecode.com/svn/trunk@2 ec762483-ff6d-05da-a07a-a48fb63a330f --- tests/system_tests/controlled_synparse/cdec.ini | 3 ++ .../controlled_synparse/gold.statistics | 16 +++++++++ tests/system_tests/controlled_synparse/gold.stdout | 36 +++++++++++++++++++++ tests/system_tests/controlled_synparse/input.txt | 2 ++ .../controlled_synparse/scfg.biparse.gz | Bin 0 -> 141 bytes 5 files changed, 57 insertions(+) create mode 100644 tests/system_tests/controlled_synparse/cdec.ini create mode 100644 tests/system_tests/controlled_synparse/gold.statistics create mode 100644 tests/system_tests/controlled_synparse/gold.stdout create mode 100644 tests/system_tests/controlled_synparse/input.txt create mode 100644 tests/system_tests/controlled_synparse/scfg.biparse.gz (limited to 'tests/system_tests/controlled_synparse') 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..9e68069e --- /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 +0 ||| c d c b e ||| F1bad2=1;F4=1;F5=1;F7=1;Glue=1 ||| 0 +0 ||| c b c d ||| F1bad2=1;F6=1;F7=1;F9=1;Glue=2 ||| 0 +0 ||| b d c b e ||| F1bad1=1;F4=1;F5=1;F7=1;Glue=1 ||| 0 +0 ||| c b c d ||| F1bad2=1;F3=1;F5=1;F7=1;Glue=1 ||| 0 +0 ||| a d c b e ||| F1=1;F4=1;F5=1;F7=1;Glue=1 ||| 0 +0 ||| b b c d ||| F1bad1=1;F3=1;F5=1;F7=1;Glue=1 ||| 0 +0 ||| c d c b ||| F1bad2=1;F2=1;F5=1;F7=1;Glue=1 ||| 0 +0 ||| a b c d ||| F1=1;F3=1;F5=1;F7=1;Glue=1 ||| 0 +0 ||| b b c d ||| F1bad1=1;F5=1;F6=1;F7=1;Glue=3 ||| 0 +0 ||| b d c b ||| F1bad1=1;F2=1;F5=1;F7=1;Glue=1 ||| 0 +0 ||| a d c b ||| F1=1;F2=1;F5=1;F7=1;Glue=1 ||| 0 +0 ||| b b c d ||| F1bad1=1;F6=1;F7=1;F9=1;Glue=2 ||| 0 +0 ||| c c b d ||| F1bad2=1;F6=1;F7=1;F8=1;Glue=2 ||| 0 +0 ||| a b c d ||| F1=1;F6=1;F7=1;F9=1;Glue=2 ||| 0 +0 ||| a b c d ||| F1=1;F5=1;F6=1;F7=1;Glue=3 ||| 0 +0 ||| b c b d ||| F1bad1=1;F6=1;F7=1;F8=1;Glue=2 ||| 0 +0 ||| a c b d ||| F1=1;F6=1;F7=1;F8=1;Glue=2 ||| 0 +1 ||| c b c d ||| F1bad2=1;F5=1;F6=1;F7=1;Glue=3 ||| 0 +1 ||| c d c b e ||| F1bad2=1;F4=1;F5=1;F7=1;Glue=1 ||| 0 +1 ||| c b c d ||| F1bad2=1;F6=1;F7=1;F9=1;Glue=2 ||| 0 +1 ||| b d c b e ||| F1bad1=1;F4=1;F5=1;F7=1;Glue=1 ||| 0 +1 ||| c b c d ||| F1bad2=1;F3=1;F5=1;F7=1;Glue=1 ||| 0 +1 ||| a d c b e ||| F1=1;F4=1;F5=1;F7=1;Glue=1 ||| 0 +1 ||| b b c d ||| F1bad1=1;F3=1;F5=1;F7=1;Glue=1 ||| 0 +1 ||| c d c b ||| F1bad2=1;F2=1;F5=1;F7=1;Glue=1 ||| 0 +1 ||| a b c d ||| F1=1;F3=1;F5=1;F7=1;Glue=1 ||| 0 +1 ||| b b c d ||| F1bad1=1;F5=1;F6=1;F7=1;Glue=3 ||| 0 +1 ||| b d c b ||| F1bad1=1;F2=1;F5=1;F7=1;Glue=1 ||| 0 +1 ||| a d c b ||| F1=1;F2=1;F5=1;F7=1;Glue=1 ||| 0 +1 ||| b b c d ||| F1bad1=1;F6=1;F7=1;F9=1;Glue=2 ||| 0 +1 ||| c c b d ||| F1bad2=1;F6=1;F7=1;F8=1;Glue=2 ||| 0 +1 ||| a b c d ||| F1=1;F6=1;F7=1;F9=1;Glue=2 ||| 0 +1 ||| a b c d ||| F1=1;F5=1;F6=1;F7=1;Glue=3 ||| 0 +1 ||| b c b d ||| F1bad1=1;F6=1;F7=1;F8=1;Glue=2 ||| 0 +1 ||| a c b d ||| F1=1;F6=1;F7=1;F8=1;Glue=2 ||| 0 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 new file mode 100644 index 00000000..aaf1c41d Binary files /dev/null and b/tests/system_tests/controlled_synparse/scfg.biparse.gz differ -- cgit v1.2.3