summaryrefslogtreecommitdiff
path: root/dtrain/test/nc-wmt11
diff options
context:
space:
mode:
Diffstat (limited to 'dtrain/test/nc-wmt11')
-rw-r--r--dtrain/test/nc-wmt11/cdec.ini7
-rw-r--r--dtrain/test/nc-wmt11/dtrain.ini10
2 files changed, 17 insertions, 0 deletions
diff --git a/dtrain/test/nc-wmt11/cdec.ini b/dtrain/test/nc-wmt11/cdec.ini
new file mode 100644
index 00000000..fb2cbf23
--- /dev/null
+++ b/dtrain/test/nc-wmt11/cdec.ini
@@ -0,0 +1,7 @@
+formalism=scfg
+add_pass_through_rules=true
+feature_function=KLanguageModel data/nc-wmt11.en.srilm.gz
+feature_function=WordPenalty
+cubepruning_pop_limit=30
+scfg_max_span_limit=15
+
diff --git a/dtrain/test/nc-wmt11/dtrain.ini b/dtrain/test/nc-wmt11/dtrain.ini
new file mode 100644
index 00000000..51033f2d
--- /dev/null
+++ b/dtrain/test/nc-wmt11/dtrain.ini
@@ -0,0 +1,10 @@
+decoder_config=test/nc-wmt11/cdec.ini
+kbest=100
+ngrams=3
+epochs=8
+input=data/nc-wmt11.loo.localf.p0.500.rule-id #nc-wmt11-de-en-dyer-cs-joshua.tok.lc.fixamp1.loo.psg.dtrain.localf.p0
+scorer=approx_bleu
+output=data/w/nc-wmt11.loo.p0.weights.gz
+#stop_after=100
+wprint=Glue WordPenalty LanguageModel LanguageModel_OOV PhraseModel_0 PhraseModel_1 PhraseModel_2 PhraseModel_3 PhraseModel_4
+