Could you send me your ini file. If you have model files tht you can make available for download that can reproduce this problem, it would be great too
Hieu Sent while bumping into things On 17 Jul 2013, at 07:10 PM, Jacqueline Lee <[email protected]> wrote: Hi, I'm trying to use word lattices for decoding. I used the example posted in http://www.statmt.org/moses/?n=Moses.WordLattices as the input. I also used checkplf to make sure the format is correct. However, when I ran the following command, a segmentation fault happened. ../../bin/moses -inputtype 2 -f mert-work/moses.ini < test.chi test.chi contains only the following line: ((('einen',1.0,1),),(('wettbewerbsbedingten',0.5,2),('wettbewerbs',0.25,1),('wettbewerb',0.25, 1),),(('bedingten',1.0,1),),(('preissturz',0.5,2),('preis',0.5,1),),(('sturz',1.0,1),),) In the moses.ini file, it also contains the following lines: #lattice or confusion net weights [weight-i] 0.1 I used gdb to trace where the segmentation fault happened, and it showed: Program received signal SIGSEGV, Segmentation fault. Moses::WordLattice::InitializeFromPCNDataType (this=0x35b6210, cn=..., factorOrder=..., debug_line=<value optimized out>) at moses/WordLattice.cpp:39 39 size_t numInputScores = inputFeature->GetNumInputScores(); Could anyone let me know whether I'm making any obvious mistakes? Thanks! Jackie _______________________________________________ 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
