This functionality is broken in the tip of the trunk. There was a project last january to check change the way hypothesis scoring was done to be more flexible that broke this. It needs to be fixed. One alternative is to roll back to the version of the code that was at the tip of the trunk in Dec of 2008.
-Chris On Mon, Nov 9, 2009 at 9:49 AM, Michael Zuckerman <[email protected]> wrote: > Hi, > > I tried to use this flag in the moses decoder. I put in the moses.ini file > the lines: > [early-discarding-threshold] > 0.7 > > But then when I run moses, it exits with the error message: > moses: Hypothesis.cpp:320: float Moses::Hypothesis::CalcExpectedScore(const > Moses::SquareMatrix&): Assertion `!"Need to add code to get the distortion > scores"' failed. > Aborted > > The same error message is written when I put the flag in the command line: > moses -f moses.ini -early-discarding-threshold 0.7 > > Could you please advise ? > > Thanks, > Michael. > > _______________________________________________ > 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
