diff options
Diffstat (limited to 'tests/system_tests/australia-align')
-rw-r--r-- | tests/system_tests/australia-align/australia.scfg.gz | bin | 0 -> 564058 bytes | |||
-rw-r--r-- | tests/system_tests/australia-align/cdec.ini | 3 | ||||
-rw-r--r-- | tests/system_tests/australia-align/gold.statistics | 8 | ||||
-rw-r--r-- | tests/system_tests/australia-align/gold.stdout | 1 | ||||
-rw-r--r-- | tests/system_tests/australia-align/input.txt | 1 | ||||
-rw-r--r-- | tests/system_tests/australia-align/stderr | 48 | ||||
-rw-r--r-- | tests/system_tests/australia-align/weights | 7 |
7 files changed, 68 insertions, 0 deletions
diff --git a/tests/system_tests/australia-align/australia.scfg.gz b/tests/system_tests/australia-align/australia.scfg.gz Binary files differnew file mode 100644 index 00000000..0cd70f1f --- /dev/null +++ b/tests/system_tests/australia-align/australia.scfg.gz diff --git a/tests/system_tests/australia-align/cdec.ini b/tests/system_tests/australia-align/cdec.ini new file mode 100644 index 00000000..eba98941 --- /dev/null +++ b/tests/system_tests/australia-align/cdec.ini @@ -0,0 +1,3 @@ +formalism=scfg +grammar=australia.scfg.gz +aligner=true diff --git a/tests/system_tests/australia-align/gold.statistics b/tests/system_tests/australia-align/gold.statistics new file mode 100644 index 00000000..8101bd40 --- /dev/null +++ b/tests/system_tests/australia-align/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 111 +constr_edges 305 +constr_paths 9899 diff --git a/tests/system_tests/australia-align/gold.stdout b/tests/system_tests/australia-align/gold.stdout new file mode 100644 index 00000000..ef2aea03 --- /dev/null +++ b/tests/system_tests/australia-align/gold.stdout @@ -0,0 +1 @@ +澳洲 是 与 北韩 有 邦交 的 少数 国家 之一 。 ||| australia is one of the few countries that has diplomatic relations with north korea . ||| 0-0 1-1 2-11 3-12 3-13 4-7 4-8 5-9 5-10 6-4 7-5 8-6 9-2 9-3 10-14 diff --git a/tests/system_tests/australia-align/input.txt b/tests/system_tests/australia-align/input.txt new file mode 100644 index 00000000..482d3e4b --- /dev/null +++ b/tests/system_tests/australia-align/input.txt @@ -0,0 +1 @@ +澳洲 是 与 北韩 有 邦交 的 少数 国家 之一 。 ||| australia is one of the few countries that has diplomatic relations with north korea . diff --git a/tests/system_tests/australia-align/stderr b/tests/system_tests/australia-align/stderr new file mode 100644 index 00000000..c49e3bd0 --- /dev/null +++ b/tests/system_tests/australia-align/stderr @@ -0,0 +1,48 @@ +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: 澳洲 是 与 北韩 有 邦交 的 少数 国家 之一 。 ||| australia is one of the few ... + 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): 111/305 + Constr. forest (paths): 9899 + Constr. VitTree: (CAT_76 (CAT_75 (CAT_73 (CAT_13 (CAT_12 australia is)) (CAT_66 (CAT_55 (CAT_40 one of the few countries) (CAT_5 that has) diplomatic relations) with north korea)) (CAT_11 .))) + 1 0.367526 0 0 0 0 0 0 0 0 0 0 0 0 0 + 0.367526 0.999979 0.100222 0.0997905 0.0210297 0 0 0.00481735 8.02707e-12 0 0 0 0 0 0.0587194 + 0 9.42288e-12 0 8.53331e-07 3.77376e-06 0 0 8.02707e-12 0.0310404 0 0 0.999994 0.947965 0.947965 9.71274e-07 + 0 0 0 0 0 0 0 0 0 0 0 0.947965 1 1 0 + 0 0 7.54036e-06 6.96573e-05 0 0 0 0.742293 0.999244 0 0 0.0310422 0 0 0.000677908 + 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 + 0 0.02397 0.328274 0.330722 0.961649 0.321117 0.263254 0.257688 0.000755969 0 0 3.82289e-06 0 0 0.0265549 + 0 0 0.130232 0.130232 0.321285 1 0.565141 0 0 0 0 0 0 0 0 + 0 0 0.108129 0.10919 0.260861 0.565141 1 0 0 0 0 0 0 0 2.53515e-12 + 0 0.100047 0.999815 0.996401 0.365844 0.130232 0.108128 0 0 0 0 0 0 0 0.112835 + 0 0.058724 0.112814 0.112464 0.0214041 0 0 0.00590826 0 0 0 0 0 0 1 + + 012345678901234 +0*..............0 +1.*.............1 +2...........*...2 +3............**.3 +4.......**......4 +5.........**....5 +6....*..........6 +7.....*.........7 +8......*........8 +9..**...........9 +0..............*0 + 012345678901234 + +Translation: 1.41218 secs (1 calls) diff --git a/tests/system_tests/australia-align/weights b/tests/system_tests/australia-align/weights new file mode 100644 index 00000000..a280184c --- /dev/null +++ b/tests/system_tests/australia-align/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 |