summaryrefslogtreecommitdiff
path: root/dtrain
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2011-09-05 17:58:21 +0200
committerPatrick Simianer <p@simianer.de>2011-09-23 19:13:58 +0200
commit974e485f9231b3d11edbd9e538ffa20b45e7435a (patch)
tree5ea59d7db09aef1cd74e349cf223b8979553d577 /dtrain
parent809361a8e182c5e47ffe569db7671bc8c7224867 (diff)
example added
Diffstat (limited to 'dtrain')
-rw-r--r--dtrain/test/EXAMPLE/cdec.ini6
-rw-r--r--dtrain/test/EXAMPLE/dtrain.ini10
2 files changed, 16 insertions, 0 deletions
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
+