Hi Yifeng

Try downloading the latest release. This should be fixed,

regards
Barry

On Friday 28 May 2010 08:56:54 [email protected] wrote:
> Hi,
>  
> I downloaded moses-2010-04-01.zip and I have run 'make release'.
>  
> Regards,
> Yifeng Yu
>  
> 
> ----- 原始邮件 -----
> 发件人:Barry Haddow <[email protected]>
> 收件人:[email protected]
> 主题:Re: [Moses-support] A question with train-factored-phrase-model.perl
> 日期:2010-5-28 14:57:59
> 
> Hi Yifeng
> 
> Which version of moses are you using? This problem should have been fixed
>  on April 6th (r3054). Have you run a 'make release' in the scripts
>  directory recently?
> 
> regards
> Barry
> 
> On Friday 28 May 2010 04:58:49 [email protected] wrote:
> > Hi,
> > &nbsp;
> > Following the first example in&nbsp;&nbsp;"Factored Tutorial",&nbsp;I
> > enter: &nbsp;
> > train-factored-phrase-model.perl \
> > --corpus factored-corpus/proj-syndicate.1000 \
> > --root-dir unfactored&nbsp; \
> > --f de \
> > --e en \
> > --lm 0:3:/cygdrive/c/usr/phrase/factored-corpus/surface.lm:0
> > &nbsp;
> > But I get the error message back:
> > "you have specify which languages to condition on (f or fe); it is not
> > done in distance"
> >
> > I found the related source code in train-factored-phrase-model.perl:
> > &nbsp;
> > &nbsp;(1)
> > &nbsp;&nbsp;&nbsp;&nbsp; elsif ($reoconf =~ /^((fe)|(f))/) {
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> > $REORDERING_MODELS[$model_num]{"lang"} = $reoconf;
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }
> > &nbsp;
> > (2)&nbsp;
> > &nbsp; #check that the required attributes are given
> > &nbsp; if (!defined($REORDERING_MODELS[$model_num]{"lang"})) {
> > &nbsp;&nbsp;&nbsp;&nbsp; print STDERR "you have specify which languages
> > to condition on (f or fe); it is not done in $r\n";
> > &nbsp;&nbsp;&nbsp;&nbsp; exit(1);
> > &nbsp; }
> > &nbsp;
> > I think "you have specify ..."&nbsp;may be "you have to specify..."
> > &nbsp;
> > My question is: should I really need to add a parameter to specify which
> > languages to condition on? &nbsp;
> > &nbsp;
> > Regards,
> > Yifeng Yu
> 


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

Reply via email to