hi mark The problem seems to be in ChartManager.cpp line 216. Change the hardcoded top-label 'S' to 'Q' and it'll work
I'm not sure why it's hardcoded. Gonna fix it properly now On Mon, Nov 12, 2012 at 5:28 PM, Hieu Hoang <[email protected]> wrote: > > hi mark > > > > do you have an example model i can run to debug? I'm running hiero > models at > > the moment and they're doing ok > > > > On 12 November 2012 16:04, Mark Fishel <[email protected]> wrote: > >> > >> Dear everyone, > >> > >> moses_chart segfaults for me if "-n-best-list" is given, right before > >> generating the n-best list. Log output below. Without n-best list > >> generation translation works fine. Does anyone have the same > >> experience? Tree-to-tree translation. > >> > >> Thanks and best regards, > >> Mark > >> > >> ..... > >> 2 0 0 > >> 10 0 > >> 1 > >> XML TAG BEST TRANSLATION: 1308 tree (span="3-3" label="RB") spanning Q > >> 3 to 3 complete, commence processing > >> </s> :0-0 : c=XML TAG IS: tree span="3-3" label="ADVP"/ > >> XML TAG tree (span="3-3" label="ADVP") added to stack, now size 1 > >> -0.392XML TAG tree [0..10] 1269 [total= (span="3-3" label="ADVP") > >> spanning -2.988] core=(3 to 3-4.343, complete, commence processing > >> 0.000,-10.064,XML TAG IS: tree span="4-4" label="VBD"/ > >> -5.163,XML TAG tree (span="4-4" label="VBD") added to stack, now size > >> -18.840,1 > >> -6.378,XML TAG tree (span="4-4" label="VBD") spanning -17.114,5.999,4 > >> to 4 complete, commence processing > >> 5.999) > >> Best path: 1269 <= 1252 <= 1181 <= 1095 <= 768 <= 227 <= 0 <= 196 <= > >> 314 <= 101 <= 130 <= 141 <= 161 <= 0 > >> XML TAG IS: tree span="5-5" label="TO"/ > >> XML TAG tree (span="5-5" label="TO") added to stack, now size 1 > >> XML TAG treeBest Hypothesis Generation Time: : (span="5-5" > >> label="TO") spanning 5 to 5 complete, commence processing > >> [4.550] seconds > >> WRITING 100 TRANSLATION ALTERNATIVES TO run1.best100.out > >> XML TAG IS: tree span="6-6" label="PRP$"/ > >> Segmentation fault (core dumped) > >> _______________________________________________ > >> Moses-support mailing list > >> [email protected] > >> http://mailman.mit.edu/mailman/listinfo/moses-support > > > > >
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
