Hi 

I've checked in a fix for this bug.

In revisions [4055,4069], train-model.perl would produce phrase tables without 
a phrase penalty, even if the -NoPhraseCount was not used. This would give an 
error like

ERROR:Size of scoreVector != number (4!=5) of score components on line 1

in decoding,

best regards - Barry

On Wednesday 06 July 2011 13:52, Barry Haddow wrote:
> Hi Panos
>
> This looks like a bug in train-model.perl, introduced in r4055. The
> moses.ini is correct, but the phrase table is incorrect (it should have 5
> scores).
>
> I'll have a look at this and get back to you,
>
> best regards - Barry
>
> On Wednesday 06 July 2011 13:28, you wrote:
> > Thank you Barry. Changing the scores in moses.ini did the trick. However,
> > this was the default .ini produced from the train-model script. I didn't
> > change the scores manually. Why did this happen? Panos
> >
> > > From: [email protected]
> > > To: [email protected]
> > > Subject: Re: [Moses-support] errors during decoding
> > > Date: Wed, 6 Jul 2011 13:18:09 +0100
> > > CC: [email protected]
> > >
> > > Hi Panos
> > >
> > > This is the problem
> > >
> > > > secondsERROR:Size of scoreVector != number (4!=5) of score components
> > > > on line 1
> > >
> > > Your phrase table has 4 scores for each entry, whilst your moses.ini
> > > specifies 5 scores. One of them is incorrect,
> > >
> > > best regards - Barry

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

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

Reply via email to