Dear everyone,

I have build moses in eclipse to debug. When I debug moses to translate
english -> japanese with world lattice decoding. It crashed. The errro
message is Segmentation Fault.

<terminated>gdb Debugger (9/16/09 3:08 PM) (Exited. Signal 'SIGSEGV'
received. Description: Segmentation fault.)

Follow the trace, It crashed at
Moses/src/TranslationOptionCollection.cpp :: Prune()

That mean, the lattice input format is valid, and are checked.
But I dont understand any more about this error.

Here i s my moses.ini config file

########################################################################################
### MOSES CONFIG FILE ###
#########################

# input factors
[input-factors]
0

# mapping steps
[mapping]
0 T 0

# translation tables: source-factors, target-factors, number of scores,
file
[ttable-file]
0 0 5 /home/manhhung/smt/viet-japanese/new_tm/model/phrase-table

# no generation models, no generation-file section

# language models: type(srilm/irstlm), factors, order, file
[lmodel-file]
0 0 5 /home/manhhung/smt/viet-japanese/data/lm/lm200K.ja.srilm


# limit on how many phrase translations e for each phrase f are loaded
# 0 = all elements loaded
[ttable-limit]
10

# distortion (reordering) files
[distortion-file]
0-0 msd-bidirectional-fe
6 /home/manhhung/smt/viet-japanese/new_tm/model/reordering-table.gz

# 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

[inputtype]
2


# 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

[weight-i]
1

[distortion-limit]
-1

##############################################################################################

And the output when debuging

##########################################################################################
Defined parameters (per moses.ini or switch):
        config: /home/manhhung/smt/viet-japanese/new_tm/model/moses.ini
        distortion-file: 0-0 msd-bidirectional-fe
6 /home/manhhung/smt/viet-japanese/new_tm/model/reordering-table.gz
        distortion-limit: -1
        input-factors: 0

input-file:
/home/manhhung/workspace/vjTranslation/data/experiment/lattice/3gram/test.ext3.lat.txt

        inputtype: 2
        lmodel-file: 0 0
5 /home/manhhung/smt/viet-japanese/data/lm/lm200K.ja.srilm
        mapping: 0 T 0
        ttable-file: 0 0
5 /home/manhhung/smt/viet-japanese/new_tm/model/phrase-table
        ttable-limit: 10
        weight-d: 0.3 0.3 0.3 0.3 0.3 0.3 0.3
        weight-i: 1
        weight-l: 0.5000
        weight-t: 0.2 0.2 0.2 0.2 0.2
        weight-w: -1
Loading lexical distortion models...
have 1 models
Creating lexical reordering...
weights: 0.300 0.300 0.300 0.300 0.300 0.300
Loading table into memory...done.
Created lexical orientation reordering
Start loading
LanguageModel /home/manhhung/smt/viet-japanese/data/lm/lm200K.ja.srilm :
[109.000] seconds
Finished loading LanguageModels : [113.000] seconds
specified equal numbers of link parameters and insertion weights, not
using non-epsilon 'real' word link count.
Start loading
PhraseTable /home/manhhung/smt/viet-japanese/new_tm/model/phrase-table :
[113.000] seconds
filePath: /home/manhhung/smt/viet-japanese/new_tm/model/phrase-table
Finished loading phrase tables : [113.000] seconds
Created input-output object : [153.000] seconds
Translating: word lattice: 59
0 -- (we , -1.099, 1) (us , -1.099, 1) (ourselves , -1.099, 1)
1 -- (conserve , -2.639, 2) (continue , -2.639, 2) (continuous , -2.639,
2) (preserve , -2.639, 2) (uphelp , -2.639, 2) (uphold , -2.639, 2)
(sustain , -2.639, 2) (to , -0.693, 1)
2 -- (maintain , 0.000, 1)
3 -- (develop , -2.565, 1) (expand , -2.565, 1) (developmental , -2.565,
1) (expansile , -2.565, 1) (explicate , -2.565, 1) (flourish , -2.565,
1) (grew , -2.565, 1) (grow , -2.565, 1) (progress , -2.565, 1)
(well-grown , -2.565, 1) (enlarge , -2.565, 1) (evolutional , -2.565, 1)
(evolve , -2.565, 1)
4 -- (dialogue , -1.099, 1) (dialogic , -1.099, 1) (conversation ,
-1.099, 1)
5 -- (production , -2.303, 2) (fabricate , -2.303, 2) (productive ,
-2.303, 2) (yield , -2.303, 2) (productively , -2.303, 2) (to , -0.693,
1)
6 -- (produce , -1.099, 1) (make , -1.099, 1) (manufacture , -1.099, 1)
7 -- (bilateral , -1.386, 1) (bilaterally , -1.386, 1) (of , -0.693, 2)
8 -- (one , -2.079, 2) (a , -2.079, 2) (any , -2.079, 2) (i , -2.079, 2)
(single , -2.079, 2) (unit , -2.079, 2) ('un , -2.079, 2) (uni- ,
-2.079, 2)
9 -- (a , 0.000, 2)
10 -- (way , -3.135, 2) (manner , -3.135, 2) (fashion , -3.135, 2)
(case , -3.135, 2) (contrivance , -3.135, 2) (distant , -3.135, 2)
(expedient , -3.135, 2) (expediential , -3.135, 2) (from , -3.135, 2)
(genitive , -3.135, 2) (isolate , -3.135, 2) (isolated , -3.135, 2)
(line , -3.135, 2) (mean , -3.135, 2) (meant , -3.135, 2) (mode ,
-3.135, 2) (of , -3.135, 2) (road , -3.135, 2) (sort , -3.135, 2)
(style , -3.135, 2) (tactic , -3.135, 2) (insulate , -3.135, 2)
(procedure , -3.135, 2)
11 -- (bilateral , 0.000, 1)
12 -- (periodic , -0.693, 1) (periodical , -0.693, 1)
13 -- (some , -2.485, 10) (frequently , -2.485, 10) (usually , -2.485,
10) (certain , -1.386, 1) (as , -1.386, 2) (nothing , -1.386, 3)
14 -- (number , 0.000, 3)
15 -- (much , -0.693, 3) (many , -0.693, 4)
16 -- (but , -0.693, 7) (issue , -0.693, 4)
17 -- (of , -0.693, 6) (question , -0.693, 4)
18 -- (as , -0.693, 5) (question , -0.693, 4)
19 -- (as , -0.693, 4) (question , -0.693, 5)
20 -- (but , 0.000, 5)
21 -- (of , 0.000, 5)
22 -- (as , 0.000, 5)
23 -- (problem , -4.700, 5) (matter , -4.700, 5) (question , -4.700, 5)
(chapter , -4.700, 5) (issue , -4.700, 5) (point , -4.700, 5)
(proposition , -4.700, 5) (shebang , -4.700, 5) (subject , -4.700, 5)
(thing , -4.700, 5) (the , -2.398, 6) (to , -2.398, 7) (the , -2.398, 8)
(to , -2.398, 9) (the , -2.398, 10) (to , -2.398, 11) (to , -2.398, 12)
(the , -2.398, 13) (to , -2.398, 14) (to , -2.398, 15)
24 -- (as , 0.000, 15)
25 -- (to , 0.000, 27)
26 -- (to , 0.000, 26)
27 -- (to , 0.000, 25)
28 -- (end , -3.584, 26) (limit , -3.584, 26) (extremity , -3.584, 26)
(whole , -3.584, 26) (same , -3.584, 26) (and , -3.584, 26) (alongside ,
-3.584, 26) (even , -3.584, 26) (jointly , -3.584, 26) (to , -1.386, 24)
(all , -1.386, 12) (together , -1.386, 13)
29 -- (problem , 0.000, 13)
30 -- (the , 0.000, 13)
31 -- (matter , 0.000, 13)
32 -- (the , 0.000, 13)
33 -- (question , 0.000, 13)
34 -- (question , 0.000, 13)
35 -- (the , 0.000, 13)
36 -- (issue , 0.000, 13)
37 -- (the , 0.000, 13)
38 -- (the , 0.000, 13)
39 -- (to , 0.000, 13)
40 -- (over , 0.000, 14)
41 -- (with , 0.000, 13)
42 -- (to , 0.000, 11)
43 -- (problem , 0.000, 10)
44 -- (to , 0.000, 9)
45 -- (matter , 0.000, 8)
46 -- (to , 0.000, 7)
47 -- (the , 0.000, 6)
48 -- (question , 0.000, 5)
49 -- (to , 0.000, 4)
50 -- (issue , 0.000, 3)
51 -- (point , 0.000, 2)
52 -- (the , 0.000, 1)
53 -- (extremity , 0.000, 1)
54 -- (concerned , -1.386, 1) (consult , -1.386, 1) (thoughtful ,
-1.386, 1) (thoughtfully , -1.386, 1)
55 -- (middle , -2.303, 1) (among , -2.303, 1) (midst , -2.303, 1)
(amid , -2.303, 1) (amidst , -2.303, 1) (amongst , -2.303, 1) (between ,
-2.303, 1) (full , -2.303, 1) (heart , -2.303, 1) (mesial , -2.303, 1)
56 -- (japanese , -1.099, 1) (japonic , -1.099, 1) (nipponese , -1.099,
1)
57 -- (and , 0.000, 1)
58 -- (csce , 0.000, 1)



reading bin ttable
size of OFF_T 8
binary phrasefile loaded, default OFF_T: -1

###########################################################

Thanks in advance

Hung
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to