From ed3df1e4e7a2b4e7d6a5ebc4e47d2b0231dc5f21 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Mon, 5 Sep 2011 17:58:21 +0200 Subject: example added --- dtrain/test/EXAMPLE/cdec.ini | 6 ++++++ dtrain/test/EXAMPLE/dtrain.ini | 10 ++++++++++ 2 files changed, 16 insertions(+) create mode 100644 dtrain/test/EXAMPLE/cdec.ini create mode 100644 dtrain/test/EXAMPLE/dtrain.ini diff --git a/dtrain/test/EXAMPLE/cdec.ini b/dtrain/test/EXAMPLE/cdec.ini new file mode 100644 index 00000000..b6e92b5f --- /dev/null +++ b/dtrain/test/EXAMPLE/cdec.ini @@ -0,0 +1,6 @@ +formalism=scfg +add_pass_through_rules=true +feature_function=WordPenalty +cubepruning_pop_limit=30 +scfg_max_span_limit=15 + diff --git a/dtrain/test/EXAMPLE/dtrain.ini b/dtrain/test/EXAMPLE/dtrain.ini new file mode 100644 index 00000000..1467b332 --- /dev/null +++ b/dtrain/test/EXAMPLE/dtrain.ini @@ -0,0 +1,10 @@ +decoder_config=test/EXAMPLE/cdec.ini +kbest=100 +ngrams=3 +epochs=22 +input=test/EXAMPLE/dtrain.nc-1k +scorer=approx_bleu +output=test/EXAMPLE/weights.gz +stop_after=5 +wprint=Glue WordPenalty LanguageModel LanguageModel_OOV PhraseModel_0 PhraseModel_1 PhraseModel_2 PhraseModel_3 PhraseModel_4 + -- cgit v1.2.3