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/australia | |
parent | 5361a6412834485dfd268b6a0fa4144d636f425f (diff) |
oops, forgot to add tests
Diffstat (limited to 'tests/system_tests/australia')
-rw-r--r-- | tests/system_tests/australia/australia.scfg.gz | bin | 0 -> 564058 bytes | |||
-rw-r--r-- | tests/system_tests/australia/cdec.ini | 2 | ||||
-rw-r--r-- | tests/system_tests/australia/gold.statistics | 8 | ||||
-rw-r--r-- | tests/system_tests/australia/gold.stdout | 0 | ||||
-rw-r--r-- | tests/system_tests/australia/input.txt | 1 | ||||
-rw-r--r-- | tests/system_tests/australia/stderr | 22 | ||||
-rw-r--r-- | tests/system_tests/australia/weights | 7 |
7 files changed, 40 insertions, 0 deletions
diff --git a/tests/system_tests/australia/australia.scfg.gz b/tests/system_tests/australia/australia.scfg.gz Binary files differnew file mode 100644 index 00000000..0cd70f1f --- /dev/null +++ b/tests/system_tests/australia/australia.scfg.gz diff --git a/tests/system_tests/australia/cdec.ini b/tests/system_tests/australia/cdec.ini new file mode 100644 index 00000000..dfc3cb20 --- /dev/null +++ b/tests/system_tests/australia/cdec.ini @@ -0,0 +1,2 @@ +formalism=scfg +grammar=australia.scfg.gz diff --git a/tests/system_tests/australia/gold.statistics b/tests/system_tests/australia/gold.statistics new file mode 100644 index 00000000..050d12dd --- /dev/null +++ b/tests/system_tests/australia/gold.statistics @@ -0,0 +1,8 @@ +-lm_nodes 77 +-lm_edges 244232 +-lm_paths 3.79555e+28 +-lm_trans australia is have diplomatic relations with north korea one of the few countries . +-lm_viterbi -12.7893 +constr_nodes 185 +constr_edges 827 +constr_paths 279358 diff --git a/tests/system_tests/australia/gold.stdout b/tests/system_tests/australia/gold.stdout new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/tests/system_tests/australia/gold.stdout diff --git a/tests/system_tests/australia/input.txt b/tests/system_tests/australia/input.txt new file mode 100644 index 00000000..f14bf535 --- /dev/null +++ b/tests/system_tests/australia/input.txt @@ -0,0 +1 @@ +澳洲 是 与 北韩 有 邦交 的 少数 国家 之一 。 ||| ((('australia',0,1),),(('is',0,1),),(('one',0,1),),(('of',0,1),),(('the',0,4),('a',0,4),('a',0,1),('the',0,1),),(('small',0,1),('tiny',0,1),('miniscule',0,1),('handful',0,2),),(('number',0,1),('group',0,1),),(('of',0,2),),(('few',0,1),),(('countries',0,1),),(('that',0,1),),(('has',0,1),('have',0,1),),(('diplomatic',0,1),),(('relations',0,1),),(('with',0,1),),(('north',0,1),),(('korea',0,1),),(('.',0,1),),) diff --git a/tests/system_tests/australia/stderr b/tests/system_tests/australia/stderr new file mode 100644 index 00000000..c41fb9fb --- /dev/null +++ b/tests/system_tests/australia/stderr @@ -0,0 +1,22 @@ +cdec v1.0 (c) 2009 by Chris Dyer +Configuration file: cdec.ini +Reading SCFG grammar from australia.scfg.gz + 33737 rules read. +Reading weights from weights +Loaded 7 feature weights +Reading input from input.txt + +INPUT: 澳洲 是 与 北韩 有 邦交 的 少数 国家 之一 。 ||| ... + id = 0 + Goal category: [S] + ........... + -LM forest (nodes/edges): 77/244232 + -LM forest (paths): 3.79555e+28 + -LM Viterbi: australia is have diplomatic relations with north korea one of the few countries . + -LM Viterbi: -12.7893 + Goal category: [CAT_76] + .................. + Constr. forest (nodes/edges): 185/827 + Constr. forest (paths): 279358 + Constr. VitTree: (CAT_76 (CAT_75 (CAT_1 (CAT_0 australia)) (CAT_74 is (CAT_31 one of (CAT_20 a few countries)) that (CAT_36 have diplomatic relations (CAT_15 with north korea)) .))) +Translation: 2.69099 secs (1 calls) diff --git a/tests/system_tests/australia/weights b/tests/system_tests/australia/weights new file mode 100644 index 00000000..a280184c --- /dev/null +++ b/tests/system_tests/australia/weights @@ -0,0 +1,7 @@ +WordPenalty -2.844814 +LanguageModel 1.0 +PhraseModel_0 -1.066893 +PhraseModel_1 -0.752247 +PhraseModel_2 -0.589793 +PassThrough -20.0 +Glue 0 |