Hi thu

Can u send me your code via personal mail and I'll try and see what's wrong

Best if its on GitHub so I can just pull it

Hieu
Sent from my flying horse

On 30 Nov 2011, at 06:52 PM, Hoai-Thu Vuong <thuv...@gmail.com> wrote:

my feature has value 0, I did exactly as the manual, but the evaluate
function of my feature isn't called

On Wed, Nov 30, 2011 at 6:38 PM, Barry Haddow <bhad...@staffmail.ed.ac.uk>wrote:

> Hi Thu
>
> Have you verified that your feature is being called, and inserting values
> into
> the feature vector?
>
> What do you mean when you say that "element of score in ScoreComponent
> doesn't
> change" ? Do you mean that your new feature has value 0? Or is it missing?
>
> To add a feature to moses chart decoder, you have to implement
> EvaluateChart()
> (which may not be documented) and make sure that StaticData constructs and
> registers the feature (which is documented),
>
> cheers - Barry
>
> On Wednesday 30 Nov 2011 10:55:31 Hoai-Thu Vuong wrote:
> > Hi everyone,
> >
> > currently, I want to add new feature into moses decoder with chart
> > decoding, I did as document, but  I found that not work, the value of
> total
> > score and element of score in ScoreComponent doesn't change. I used
> > GetScoreBreakDown() and print all value in vector, then I saw that value
> of
> > new feature didn't changed.Could you please give me some suggest to add
> new
> > feature into moses decoder with chart decoding. Thank you very much.
> >
>



-- 
Thu.

_______________________________________________
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