?? moses.ini
字號:
#########################
### MOSES CONFIG FILE ###
#########################
# input factors
[input-factors]
0
1
# mapping steps
[mapping]
T 0
G 0
T 1
# translation tables: source-factors, target-factors, number of scores, file
[ttable-file]
0 0 6 ${MODEL_PATH}/multi-factor-drop/phrase-table.0-0.gz
1 1 5 ${MODEL_PATH}/multi-factor-drop/phrase-table.1-1.gz
# generation models: source-factors, target-factors
[generation-file]
0 1 2 ${MODEL_PATH}/multi-factor-drop/generation.0-1.gz
# language models: 0, factors, type, file
[lmodel-file]
0 0 3 ${LM_PATH}/europarl.en.srilm.gz
# limit on how many phrase translations e for each phrase f are loaded
# 0 = all elements loaded
[ttable-limit]
20
0
# distortion (reordering) weight
[weight-d]
0.6
# language model weights
[weight-l]
0.5
# translation model weights
[weight-t]
0.2
0.2
0.2
0.2
0.2
0.2
0.2
0.2
0.2
0.2
0.2
# generation model weights
[weight-generation]
0.3
0
# word penalty
[weight-w]
-1
[phrase-drop-allowed]
yes
##word-drop penalty
#[weight-e]
#2.718
[verbose]
2
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -