From e0b634754d1bef33dc8e72509c6990cccc32745a Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Thu, 9 Oct 2014 20:47:23 +0100 Subject: alles neu macht der mai --- test/cdec_hg_to_json/cdec.ini | 5 +++++ test/cdec_hg_to_json/grammar.gz | Bin 0 -> 1399915 bytes test/cdec_hg_to_json/hg.json.gz | Bin 0 -> 318029 bytes test/cdec_hg_to_json/hg.meta | 7 +++++++ test/cdec_hg_to_json/in | 1 + test/cdec_hg_to_json/toy.cdec.ini | 2 ++ test/cdec_hg_to_json/toy.grammar | 12 ++++++++++++ test/cdec_hg_to_json/toy.in | 1 + test/cdec_hg_to_json/toy.weights | 3 +++ test/cdec_hg_to_json/weights | 17 +++++++++++++++++ test/hg2json/cdec.ini | 5 ----- test/hg2json/grammar.gz | Bin 1399915 -> 0 bytes test/hg2json/hg.json.gz | Bin 318029 -> 0 bytes test/hg2json/hg.meta | 7 ------- test/hg2json/in | 1 - test/hg2json/toy.cdec.ini | 2 -- test/hg2json/toy.grammar | 12 ------------ test/hg2json/toy.in | 1 - test/hg2json/toy.weights | 3 --- test/hg2json/weights | 17 ----------------- 20 files changed, 48 insertions(+), 48 deletions(-) create mode 100644 test/cdec_hg_to_json/cdec.ini create mode 100644 test/cdec_hg_to_json/grammar.gz create mode 100644 test/cdec_hg_to_json/hg.json.gz create mode 100644 test/cdec_hg_to_json/hg.meta create mode 100644 test/cdec_hg_to_json/in create mode 100644 test/cdec_hg_to_json/toy.cdec.ini create mode 100644 test/cdec_hg_to_json/toy.grammar create mode 100644 test/cdec_hg_to_json/toy.in create mode 100644 test/cdec_hg_to_json/toy.weights create mode 100644 test/cdec_hg_to_json/weights delete mode 100644 test/hg2json/cdec.ini delete mode 100644 test/hg2json/grammar.gz delete mode 100644 test/hg2json/hg.json.gz delete mode 100644 test/hg2json/hg.meta delete mode 100644 test/hg2json/in delete mode 100644 test/hg2json/toy.cdec.ini delete mode 100644 test/hg2json/toy.grammar delete mode 100644 test/hg2json/toy.in delete mode 100644 test/hg2json/toy.weights delete mode 100644 test/hg2json/weights (limited to 'test') diff --git a/test/cdec_hg_to_json/cdec.ini b/test/cdec_hg_to_json/cdec.ini new file mode 100644 index 0000000..1ad25b5 --- /dev/null +++ b/test/cdec_hg_to_json/cdec.ini @@ -0,0 +1,5 @@ +formalism=scfg +grammar=test/hg2json/grammar.gz +add_pass_through_rules=true +feature_function=WordPenalty +intersection_strategy=full diff --git a/test/cdec_hg_to_json/grammar.gz b/test/cdec_hg_to_json/grammar.gz new file mode 100644 index 0000000..78dda98 Binary files /dev/null and b/test/cdec_hg_to_json/grammar.gz differ diff --git a/test/cdec_hg_to_json/hg.json.gz b/test/cdec_hg_to_json/hg.json.gz new file mode 100644 index 0000000..ed178c6 Binary files /dev/null and b/test/cdec_hg_to_json/hg.json.gz differ diff --git a/test/cdec_hg_to_json/hg.meta b/test/cdec_hg_to_json/hg.meta new file mode 100644 index 0000000..d33a54c --- /dev/null +++ b/test/cdec_hg_to_json/hg.meta @@ -0,0 +1,7 @@ +input: + 'in dem verzweifelten versuch , an der macht festzuhalten , hat pervez musharraf den rahmen der pakistanischen verfassung verlassen und den notstand ausgerufen .' +viterbi translation: + 'which labor market desperate transformed into attempting gathered by failed to show any the non - is making festzuhalten gathered by pervez musharraf meant to its borders with within than the non - have pakistan 's intelligence relied constitutional for security as a its borders with declared a state of emergency - range missiles .' +# nodes = 220 +# edges = 16640 +viterbi score = 228.95 diff --git a/test/cdec_hg_to_json/in b/test/cdec_hg_to_json/in new file mode 100644 index 0000000..7dc411d --- /dev/null +++ b/test/cdec_hg_to_json/in @@ -0,0 +1 @@ +in dem verzweifelten versuch , an der macht festzuhalten , hat pervez musharraf den rahmen der pakistanischen verfassung verlassen und den notstand ausgerufen . diff --git a/test/cdec_hg_to_json/toy.cdec.ini b/test/cdec_hg_to_json/toy.cdec.ini new file mode 100644 index 0000000..d4a2896 --- /dev/null +++ b/test/cdec_hg_to_json/toy.cdec.ini @@ -0,0 +1,2 @@ +formalism=scfg +grammar=test/hg2json/toy.grammar diff --git a/test/cdec_hg_to_json/toy.grammar b/test/cdec_hg_to_json/toy.grammar new file mode 100644 index 0000000..382c94f --- /dev/null +++ b/test/cdec_hg_to_json/toy.grammar @@ -0,0 +1,12 @@ +[S] ||| [NP,1] [VP,2] ||| [1] [2] ||| logp=0 +[NP] ||| ich ||| i ||| logp=-0.5 use_i=1.0 +[NP] ||| ein [NN,1] ||| a [1] ||| logp=0 use_a=1.0 +[NN] ||| [JJ,1] haus ||| [1] house ||| logp=0 use_house=1 +[NN] ||| [JJ,1] haus ||| [1] shell ||| logp=0 use_shell=1 +[JJ] ||| kleines ||| small ||| logp=0 use_small=1.0 +[JJ] ||| kleines ||| little ||| logp=0 use_little=1.0 +[JJ] ||| grosses ||| big ||| logp=0 +[JJ] ||| grosses ||| large ||| logp=0 +[VP] ||| [V,1] [NP,2] ||| [1] [2] ||| logp=0 +[V] ||| sah ||| saw ||| logp=-0.25 use_saw=1.0 +[V] ||| fand ||| found ||| logp=0 diff --git a/test/cdec_hg_to_json/toy.in b/test/cdec_hg_to_json/toy.in new file mode 100644 index 0000000..e6df927 --- /dev/null +++ b/test/cdec_hg_to_json/toy.in @@ -0,0 +1 @@ +ich sah ein kleines haus diff --git a/test/cdec_hg_to_json/toy.weights b/test/cdec_hg_to_json/toy.weights new file mode 100644 index 0000000..70075b7 --- /dev/null +++ b/test/cdec_hg_to_json/toy.weights @@ -0,0 +1,3 @@ +logp 2 +use_house 0 +use_shell 1 diff --git a/test/cdec_hg_to_json/weights b/test/cdec_hg_to_json/weights new file mode 100644 index 0000000..7f96f1d --- /dev/null +++ b/test/cdec_hg_to_json/weights @@ -0,0 +1,17 @@ +PhraseModel_0 1.0 +PhraseModel_1 1.0 +PhraseModel_2 1.0 +PhraseModel_3 1.0 +PhraseModel_4 1.0 +PhraseModel_5 1.0 +PhraseModel_6 1.0 +PassThrough -1.0 +PassThrough_1 -1.0 +PassThrough_2 -1.0 +PassThrough_3 -1.0 +PassThrough_4 -1.0 +PassThrough_5 -1.0 +PassThrough_6 -1.0 +Glue 0.1 +LanguageModel 10.0 +LanguageModel_OOV -10 diff --git a/test/hg2json/cdec.ini b/test/hg2json/cdec.ini deleted file mode 100644 index 1ad25b5..0000000 --- a/test/hg2json/cdec.ini +++ /dev/null @@ -1,5 +0,0 @@ -formalism=scfg -grammar=test/hg2json/grammar.gz -add_pass_through_rules=true -feature_function=WordPenalty -intersection_strategy=full diff --git a/test/hg2json/grammar.gz b/test/hg2json/grammar.gz deleted file mode 100644 index 78dda98..0000000 Binary files a/test/hg2json/grammar.gz and /dev/null differ diff --git a/test/hg2json/hg.json.gz b/test/hg2json/hg.json.gz deleted file mode 100644 index ed178c6..0000000 Binary files a/test/hg2json/hg.json.gz and /dev/null differ diff --git a/test/hg2json/hg.meta b/test/hg2json/hg.meta deleted file mode 100644 index d33a54c..0000000 --- a/test/hg2json/hg.meta +++ /dev/null @@ -1,7 +0,0 @@ -input: - 'in dem verzweifelten versuch , an der macht festzuhalten , hat pervez musharraf den rahmen der pakistanischen verfassung verlassen und den notstand ausgerufen .' -viterbi translation: - 'which labor market desperate transformed into attempting gathered by failed to show any the non - is making festzuhalten gathered by pervez musharraf meant to its borders with within than the non - have pakistan 's intelligence relied constitutional for security as a its borders with declared a state of emergency - range missiles .' -# nodes = 220 -# edges = 16640 -viterbi score = 228.95 diff --git a/test/hg2json/in b/test/hg2json/in deleted file mode 100644 index 7dc411d..0000000 --- a/test/hg2json/in +++ /dev/null @@ -1 +0,0 @@ -in dem verzweifelten versuch , an der macht festzuhalten , hat pervez musharraf den rahmen der pakistanischen verfassung verlassen und den notstand ausgerufen . diff --git a/test/hg2json/toy.cdec.ini b/test/hg2json/toy.cdec.ini deleted file mode 100644 index d4a2896..0000000 --- a/test/hg2json/toy.cdec.ini +++ /dev/null @@ -1,2 +0,0 @@ -formalism=scfg -grammar=test/hg2json/toy.grammar diff --git a/test/hg2json/toy.grammar b/test/hg2json/toy.grammar deleted file mode 100644 index 382c94f..0000000 --- a/test/hg2json/toy.grammar +++ /dev/null @@ -1,12 +0,0 @@ -[S] ||| [NP,1] [VP,2] ||| [1] [2] ||| logp=0 -[NP] ||| ich ||| i ||| logp=-0.5 use_i=1.0 -[NP] ||| ein [NN,1] ||| a [1] ||| logp=0 use_a=1.0 -[NN] ||| [JJ,1] haus ||| [1] house ||| logp=0 use_house=1 -[NN] ||| [JJ,1] haus ||| [1] shell ||| logp=0 use_shell=1 -[JJ] ||| kleines ||| small ||| logp=0 use_small=1.0 -[JJ] ||| kleines ||| little ||| logp=0 use_little=1.0 -[JJ] ||| grosses ||| big ||| logp=0 -[JJ] ||| grosses ||| large ||| logp=0 -[VP] ||| [V,1] [NP,2] ||| [1] [2] ||| logp=0 -[V] ||| sah ||| saw ||| logp=-0.25 use_saw=1.0 -[V] ||| fand ||| found ||| logp=0 diff --git a/test/hg2json/toy.in b/test/hg2json/toy.in deleted file mode 100644 index e6df927..0000000 --- a/test/hg2json/toy.in +++ /dev/null @@ -1 +0,0 @@ -ich sah ein kleines haus diff --git a/test/hg2json/toy.weights b/test/hg2json/toy.weights deleted file mode 100644 index 70075b7..0000000 --- a/test/hg2json/toy.weights +++ /dev/null @@ -1,3 +0,0 @@ -logp 2 -use_house 0 -use_shell 1 diff --git a/test/hg2json/weights b/test/hg2json/weights deleted file mode 100644 index 7f96f1d..0000000 --- a/test/hg2json/weights +++ /dev/null @@ -1,17 +0,0 @@ -PhraseModel_0 1.0 -PhraseModel_1 1.0 -PhraseModel_2 1.0 -PhraseModel_3 1.0 -PhraseModel_4 1.0 -PhraseModel_5 1.0 -PhraseModel_6 1.0 -PassThrough -1.0 -PassThrough_1 -1.0 -PassThrough_2 -1.0 -PassThrough_3 -1.0 -PassThrough_4 -1.0 -PassThrough_5 -1.0 -PassThrough_6 -1.0 -Glue 0.1 -LanguageModel 10.0 -LanguageModel_OOV -10 -- cgit v1.2.3