summaryrefslogtreecommitdiff
path: root/dtrain/test
diff options
context:
space:
mode:
Diffstat (limited to 'dtrain/test')
-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
+