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. > _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
