Thank you for replying, and yes no one else did yet. I was able to figure it out. I set the order to 1 and I found the method where the phrases/sentences are broken apart and "fixed" it. I'm getting some good results. Thanks again!
-Casey

On 05/01/2011 06:36 AM, Hieu Hoang wrote:
i'm not sure if anyone else replied to you. I assume you're using the phrase-based decoder

1. the decoder doesn't use <s> & </s>. It's added somewhere in the LM code, so just commnet it out. 2. You can get the longest phrase by just setting the order of the LM to be very high, eg. 100000. However, the LM order or state control the hypothesis recombination - when it considers 2 hypos to be identical and so throws away the worse hypo. If your LM needs the entire sentence constructed so far, then the decoder can't make that decision. So don't be surprised if your LM causes good hypotheses to be pruned.


On 20 April 2011 15:11, Casey Kennington <[email protected] <mailto:[email protected]>> wrote:

    Moses support,

    For my masters thesis, I am making a custom language model that I want
    to use with moses. I have been successful in being able to compile
    moses
    and use my lm with it. However, to utilize my model the best, I
    want to
    remove all padding (<s> and </s>) and I want moses to stop breaking up
    the sentences into the order size; I always want moses to submit the
    longest possible phrase that it has, especially during evaluation. I'm
    looking at the code and see a few places where I could maybe do
    it, but
    I wanted to check first to see if there wasn't some easier way to make
    that happen.

    Thank you!
    -Casey Kennington
    _______________________________________________
    Moses-support mailing list
    [email protected] <mailto:[email protected]>
    http://mailman.mit.edu/mailman/listinfo/moses-support


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

Reply via email to