Yes, you're right, sorry if that was unclear.  I omitted the source LHS symbol 
because it's always X in hierarchical phrase-based models.

Phil

On 10 Apr 2012, at 13:55, Bill_Lang(Gmail) wrote:

> Hi Philip,
>         Thanks for your kindly and professional replying. I think your 
> answers are correct. But I have one point not totally clearly.
> 
> For rule c:    [X][S] </s> [X] ||| [X][S] </s> [S] ||| 1 ||| 0-0 ||| 0
> In the left side, does the first [X][S] mean the source side target must be 
> "X" and the target side target must be "S" at the same while?
> 
> You explained rule c as: S -> X </s>, S </s>
> Can it be fully explained as: X/S -> X </s>, S </s>
> 
> I am a fresh guy for mose hierarchical model. Thanks for your answering in 
> patience.
> 
> Best Regards,
> Jun Lang
> 
> On Tue, Apr 10, 2012 at 6:50 PM, Philip Williams <philip.willi...@me.com> 
> wrote:
> Hi,
> 
> the Moses rule table format pairs up source and target non-terminal symbols 
> for the rule right-hand-sides, so you should read the SCFGs in rule c and d 
> as being
> 
>    S -> X </s>, S </s>
> 
> and
> 
>    S -> X X, S X
> 
> (With monotone non-terminal correspondences, i.e. no reordering.)
> 
> The next steps in your derivation are therefore:
> 
> 3. rule d.    X </s>
> 4. rule c.    X
> 
> Phil
> 
> 
> On 10 Apr 2012, at 08:39, Bill_Lang(Gmail) wrote:
> 
> > Dear Moses community friends,
> >       For moses hierarchical decoding, I have a question about the auto 
> > generated gleu-rule file. I make this example as follows.
> > ------------------------------------------------------------------------------
> > rule-table:
> > aa [X] ||| bb [X] ||| 0.5 0.572507 0.000191388 1.44549e-05 2.718 ||| ||| 2 
> > 5225
> >
> > glue-rule:
> > <s> [X] ||| <s> [S] ||| 1 ||| ||| 0
> > [X][S] </s> [X] ||| [X][S] </s> [S] ||| 1 ||| 0-0 ||| 0
> > [X][S] [X][X] [X] ||| [X][S] [X][X] [S] ||| 2.718 ||| 0-0 1-1 ||| 0
> >
> > The numbers of above four rules can be: a b c d.
> > a      aa [X] ||| bb [X] ||| 0.5 0.572507 0.000191388 1.44549e-05 2.718 ||| 
> > ||| 2 5225
> > b     <s> [X] ||| <s> [S] ||| 1 ||| ||| 0
> > c     [X][S] </s> [X] ||| [X][S] </s> [S] ||| 1 ||| 0-0 ||| 0
> > d     [X][S] [X][X] [X] ||| [X][S] [X][X] [S] ||| 2.718 ||| 0-0 1-1 ||| 0
> >
> > When translating this input sentence by above rules:
> > <s> aa </s>
> >
> > Moses-chart can get translation as: bb
> >
> > I suppose the translation steps to source side is
> > 1. rule b.     X aa </s>
> > 2. rule a.    X X </s>
> >
> > Here, I can not proceed further. Can anybody help me to understand how 
> > about the whole translation steps with above rules and input?
> >
> > Thanks in advance.
> >
> > Best Regards,
> > Jun Lang
> > _______________________________________________
> > Moses-support mailing list
> > Moses-support@mit.edu
> > http://mailman.mit.edu/mailman/listinfo/moses-support
> 
> 
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support

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

Reply via email to