Hi Hwidong

Do you know how to use gdb? Could you run moses in the debugger and get a 
stack trace.

It would be something like this:

[suede]bhaddow: gdb moses
GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-23.el5_5.1)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols 
from /afs/inf.ed.ac.uk/user/b/bhaddow/statmt/moses/moses-cmd/src/moses...done.
(gdb) run -f ~/afs/models/fr-en-nc/moses.ini

When moses hits the segfault, type 'where' at the prompt to get a stack trace.


regards
Barry


On Thursday 12 August 2010 02:27, Hwidong Na wrote:
> Hi Hiue,
>
> Unfortunately, I use the new scripts to create phrase tables.
>
> The hierarchical model has the new format.
>
>         [X][X] 五 百 [X] ||| [X][X] five hundred [X] ||| 0.944295
>         0.44408 0.595991 0.478547 2.718 ||| 0-0 ||| 12.3925 19.6349
>
>
> The phrase-based model also has the new format, although it does not
> contain the alignment information.
>
>         五 百 日元 ||| five hundred yen ||| 0.933333 0.429554 0.7
>         0.372403 2.718 ||| ||| 15 20
>
> I also checkout the latest svn trunk. Despite a little modification of
> the configuration for the EMS (e.g. rename mert-moses-new.pl to
> mert-moses.pl), it also fails to decode an input sentence using a
> hierarchical model. Still, a phrase-based model has no problem.
>
> I don't find the source of the problem yet.

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to