summaryrefslogtreecommitdiff
path: root/example/ini/moses.ini
diff options
context:
space:
mode:
Diffstat (limited to 'example/ini/moses.ini')
-rw-r--r--example/ini/moses.ini66
1 files changed, 66 insertions, 0 deletions
diff --git a/example/ini/moses.ini b/example/ini/moses.ini
new file mode 100644
index 0000000..102179a
--- /dev/null
+++ b/example/ini/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 /home/mitarb/simianer/mmert/example/models/phrase-table
+
+# no generation models, no generation-file section
+
+# language models: type(srilm/irstlm), factors, order, file
+[lmodel-file]
+8 0 5 /home/mitarb/simianer/mmert/example/models/epmini.mmap
+
+# limit on how many phrase translations e for each phrase f are loaded
+# 0 = all elements loaded
+[ttable-limit]
+20
+
+# distortion (reordering) files
+[distortion-file]
+0-0 wbe-msd-bidirectional-fe-allff 6 /home/mitarb/simianer/mmert/example/models/reordering-table
+
+# distortion (reordering) weight
+[weight-d]
+0.3
+0.3
+0.3
+0.3
+0.3
+0.3
+0.3
+
+# language model weights
+[weight-l]
+0.5000
+
+
+# translation model weights
+[weight-t]
+0.2
+0.2
+0.2
+0.2
+0.2
+
+# no generation models, no weight-generation section
+
+# word penalty
+[weight-w]
+-1
+
+[distortion-limit]
+6
+