mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-29 06:52:34 +03:00
430446f404
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@3204 1f5c12ca-751b-0410-a591-d2e778427230
70 lines
1.0 KiB
INI
70 lines
1.0 KiB
INI
#########################
|
|
### MOSES CONFIG FILE ###
|
|
#########################
|
|
|
|
# input factors
|
|
[input-factors]
|
|
0
|
|
|
|
# mapping steps
|
|
[mapping]
|
|
T 0
|
|
|
|
# translation tables: source-factors, target-factors, number of scores, file
|
|
[ttable-file]
|
|
1 0 0 5 ${MODEL_PATH}/lexicalized-reordering-cn/fr-en
|
|
|
|
# no generation models, no generation-file section
|
|
|
|
# language models: type(srilm/irstlm), factors, order, file
|
|
[lmodel-file]
|
|
0 0 5 ${MODEL_PATH}/lexicalized-reordering/europarl.lm
|
|
|
|
|
|
# limit on how many phrase translations e for each phrase f are loaded
|
|
# 0 = all elements loaded
|
|
[ttable-limit]
|
|
20
|
|
0
|
|
# distortion (reordering) files
|
|
[distortion-file]
|
|
0-0 msd-bidirectional-fe 6 ${MODEL_PATH}/lexicalized-reordering/reordering-table.msd-bidirectional-fe.0.5.0-0.gz
|
|
|
|
# distortion (reordering) weight
|
|
[weight-d]
|
|
0.5
|
|
0.3
|
|
0.3
|
|
0.3
|
|
0.3
|
|
0.3
|
|
0.3
|
|
|
|
# language model weights
|
|
[weight-l]
|
|
0.5000
|
|
|
|
[weight-i]
|
|
1.0
|
|
|
|
# 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
|
|
|
|
[inputtype]
|
|
1
|
|
|