Re: [Moses-support] add new feature into decoder

2011-12-01 Thread Hoai-Thu Vuong
Hello Mr, Thank you for your support. Currently, I'm using moses decoder with reversion 3420 to develop new feature. I think I understood what I should do with moses chart. In ChartHypothesis, value of Scorebreakdown is calculated by CalScore function, and trace back, the real function calscore

Re: [Moses-support] add new feature into decoder

2011-12-01 Thread Barry Haddow
Hi Thu You're using quite an old version of moses chart, which doesn't have a good interface for adding feature functions. If you check out a recent version of moses, then adding a feature function to the chart decoder is similar to the phrase decoder

[Moses-support] add new feature into decoder

2011-11-30 Thread Hoai-Thu Vuong
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

Re: [Moses-support] add new feature into decoder

2011-11-30 Thread Barry Haddow
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

Re: [Moses-support] add new feature into decoder

2011-11-30 Thread Hieu Hoang
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