That's not flexible enough. There should be something like: [feature] MyFeature name=MyFeature0 tuneable=0,1,0
[weight] MyFeature0= 0.0 0.1 1 MyFeature has 3 score components. I want to tune the second component, deactivate the first component, and set the scaling factor of the third component manually to 1. Currently the "tuneable" parameter is boolean and allows me to manually set scaling factors for either no score component or all of them. On Fri, 2015-01-23 at 17:38 +0000, Hieu Hoang wrote: > The whole feature becomes untuneable. > > I suppose u can make the pt untuneable, the write another (tuneable) > ff which grabs whatever scores it wants from the pt > > On 23 January 2015 16:55:56 GMT+00:00, Matthias Huck > <[email protected]> wrote: > Hi, > > Is there any existing functionality to set only specific score > components of a feature function as untuneable? > > Feature functions have a boolean "tuneable" parameter, but it affects > all the scores produced by it. It doesn't help in case I want to > switch > off individual scores from a phrase table, for instance. Or manually > assign large scaling factors to certain score components prior to > tuning. As far as I know, right now I'm only able to do so if the > score > I'm interested in is the only score produced by a feature function. > > If anyone has already implemented something like that, please let me > know. > > Cheers, > Matthias > > > > > -- > Sent while bumping into things -- 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
