blob: 3da47d7c6b0285ddc43d3ed50e5fe9d622c2677b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
#########################
### MOSES CONFIG FILE ###
#########################
# input factors
[input-factors]
0
1
# indicates that factors are separated by '++' in the input
[factor-delimiter]
++
[decoding-graph-backoff]
0
0
# mapping steps
[mapping]
0 T 0
1 T 1
1 G 0
1 T 2
[xml-input]
inclusive
[verbose]
2
[feature]
KENLM factor=0 order=3 num-features=1 lazyken=0 path=${LM_PATH}/europarl.en.srilm.gz
Generation input-factor=0 output-factor=1 num-features=2 path=${MODEL_PATH}/multi-factor/generation.0-1.gz
Distortion
WordPenalty
UnknownWordPenalty
PhraseDictionaryCache name=CBPT0 input-factor=0,1 output-factor=0,1 num-features=4
PhraseDictionaryMemory input-factor=0 output-factor=0 path=${MODEL_PATH}/multi-factor/phrase-table.0-0.gz num-features=5 table-limit=20
PhraseDictionaryBinary input-factor=1 output-factor=1 path=${MODEL_PATH}/multi-factor/phrase-table.1-1.gz num-features=5 table-limit=0
[weight]
WordPenalty0= -1
KENLM0= 0.5
Generation0= 0.3 0
Distortion0= 0.6
CBPT0= 0.2 0.2 0.2 0.2
PhraseDictionaryMemory0= 0.2 0.2 0.2 0.2 0.2
PhraseDictionaryBinary0= 0.2 0.2 0.2 0.2 0.2
|