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
commited3df1e4e7a2b4e7d6a5ebc4e47d2b0231dc5f21 (patch)
tree15a2a64fb2e732ad063838c878ad27f24e7f498d /dtrain
parentf9b3b81d7b5a817f39238c1d1fcbaa981d729f4a (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
+