Sorry Chris.
I'm a beginner with moses and C(I usually use perl and java), so I don't
know how to run moses in gdb(debugger mode???).  I just searched but
have got any guide for its. Could you show me how to do this.

Thanks very much,
 Manh Hung

2009-04-16 (木) の 11:57 -0400 に Chris Dyer さんは書きました:
> I was actually hoping for a stack trace.  That is, run moses in gdb,
> and then when it crashes, uses the "where" command to show where the
> crash is.
> 
> Thanks!
> 
> 2009/4/16 Nguyen Manh Hung <[email protected]>:
> > Dear Chris
> > I have included the stack trace as a file.
> > Thanks in advance,
> >  Manh Hung
> >
> > 2009-04-16 (木) の 11:34 -0400 に Chris Dyer さんは書きました:
> >> Can you send me a stack trace for where the SEGV is happening?  Once
> >> the phrase table has been binarized, there's no need to have any
> >> special temporary space.
> >>
> >> On Tue, Apr 28, 2009 at 10:46 AM, Nguyen Manh Hung
> >> <[email protected]> wrote:
> >> > Chris Dyer さんは書きました:
> >> >>
> >> >> You need to add a -weight-i flag to the command line which specifies
> >> >> how much weighting to apply to the arc feature.
> >> >>
> >> >> e.g.:
> >> >>
> >> >> moses ... -weight-i 0.5
> >> >>
> >> >> -Chris
> >> >>
> >> >> On Thu, Apr 16, 2009 at 9:58 AM, Nguyen Manh Hung
> >> >> <[email protected]> wrote:
> >> >>
> >> >>>
> >> >>> Hi,
> >> >>>
> >> >>> I'm using Moese to decode with lattices format as input. Also I make
> >> >>> lattices file content by hand. When I run moses with follow command
> >> >>> MOSES_HOME/moses-cmd/src/moses -f config_file.ini -inputtype 2
> >> >>> -input-file input.txt > out.put
> >> >>> These error has come
> >> >>> ----------------------------------
> >> >>> 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/confusion/data/lm/lm_news_jan.srilm :
> >> >>> [112.000] seconds
> >> >>> Finished loading LanguageModels : [114.000] seconds
> >> >>> ERROR:You specified 0 input weights (weight-i), but you specified 1 
> >> >>> link
> >> >>> parameters (link-param-count)!
> >> >>> -------------------------
> >> >>>
> >> >>> Could you please explain these errors for me
> >> >>> Thanks,
> >> >>>  Manh Hung
> >> >>>
> >> >>>
> >> >>> _______________________________________________
> >> >>> Moses-support mailing list
> >> >>> [email protected]
> >> >>> http://mailman.mit.edu/mailman/listinfo/moses-support
> >> >>>
> >> >>>
> >> >>
> >> >>
> >> >>
> >> >
> >> > @Chris: Ohh, it's running OK now, thanks you very much,
> >> > But... has come another error message. Segementation fault.
> >> > I have got this error message when I made binary file type of 
> >> > phrasetable.
> >> > Its seem that the size of /tmp is a small. So I added -T
> >> > options(--temporary-directory) to resolve them.
> >> > But in the options of moses command, I dont found any such option. How do
> >> > you thinks about this error.
> >> > Thanks in advance,
> >> > Manh Hung
> >> >
> >>
> >
> 

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

Reply via email to