Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/moses-regression-tests.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieu@hoang.co.uk>2013-04-09 18:36:44 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-04-09 18:36:44 +0400
commit48828127d710da44feeb3935f108f609a606808a (patch)
treea1d2a011264e8263ade70f467dd0faefc5d561b5 /tests/phrase.early-distortion-cost/moses.ini~
parent5cfa8dc377723bbe6a7642fa5f29bb258de0db68 (diff)
parent633c7fdbc429d17a8ee1eb2ed013bacff7f10114 (diff)
Merge github.com:moses-smt/moses-regression-tests into weight-new
Diffstat (limited to 'tests/phrase.early-distortion-cost/moses.ini~')
-rw-r--r--tests/phrase.early-distortion-cost/moses.ini~66
1 files changed, 66 insertions, 0 deletions
diff --git a/tests/phrase.early-distortion-cost/moses.ini~ b/tests/phrase.early-distortion-cost/moses.ini~
new file mode 100644
index 0000000..fca786e
--- /dev/null
+++ b/tests/phrase.early-distortion-cost/moses.ini~
@@ -0,0 +1,66 @@
+#########################
+### MOSES CONFIG FILE ###
+#########################
+
+# input factors
+[input-factors]
+0
+
+# mapping steps
+[mapping]
+0 T 0
+
+# translation tables: table type (hierarchical(0), textual (0), binary (1)), source-factors, target-factors, number of scores, file
+# OLD FORMAT is still handled for back-compatibility
+# OLD FORMAT translation tables: source-factors, target-factors, number of scores, file
+# OLD FORMAT a binary table type (1) is assumed
+[ttable-file]
+0 0 0 5 ${TEST_PATH}/phrase-table.gz
+
+# no generation models, no generation-file section
+
+# language models: type(srilm/irstlm), factors, order, file
+[lmodel-file]
+1 0 3 ${TEST_PATH}/mini.irstlm.en.3g.lm
+
+# limit on how many phrase translations e for each phrase f are loaded
+# 0 = all elements loaded
+[ttable-limit]
+20
+
+# distortion (reordering) weight
+[weight-d]
+0.05
+
+# language model weights
+[weight-l]
+0.5000
+
+
+# translation model weights
+[weight-t]
+0.20
+0.20
+0.20
+0.20
+0.20
+
+# no generation models, no weight-generation section
+
+# word penalty
+[weight-w]
+-1
+
+[early-distortion-cost]
+yes
+
+[distortion-limit]
+6
+
+[include-segmentation-in-n-best]
+yes
+
+[n-best-list]
+nbest
+5
+