diff options
author | Patrick Simianer <p@simianer.de> | 2011-09-05 17:58:21 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2011-09-23 19:13:58 +0200 |
commit | ed3df1e4e7a2b4e7d6a5ebc4e47d2b0231dc5f21 (patch) | |
tree | 15a2a64fb2e732ad063838c878ad27f24e7f498d | |
parent | f9b3b81d7b5a817f39238c1d1fcbaa981d729f4a (diff) |
example added
-rw-r--r-- | dtrain/test/EXAMPLE/cdec.ini | 6 | ||||
-rw-r--r-- | dtrain/test/EXAMPLE/dtrain.ini | 10 |
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 + |