Hi Neda I would urge you to use the latest version, if at all possible. I don't think the C++ interface for feature functions has changed that much.
If you really need to use the 2010 version, then you'll have to update mert- moses.pl to support the two model files, cheers - Barry On Monday 23 April 2012 12:26:55 Neda NoorMohammadi wrote: > Hi Barry, > > All right, The version of code and docs, witch I use, is out-of-date > (2010). This variable is defined in line 1084 of version 2010 of the > mert-moses.pl script. maybe It might be better if I add this feature to new > version of the moses, am I right? > please let me know If there is any solution for the previous version? > > thank you, > > On Mon, Apr 23, 2012 at 2:01 PM, Barry Haddow <[email protected]>wrote: > > Hi Neda > > > > Sorry, but I still don't see it. Could you be more precise (script, > > version and line number?) Also, could you point me at where this is > > mentioned in the > > documentation. > > > > It's possible that you're looking at an out-of-date version of the code > > and docs. I don't think mert-moses.pl should need to know how many files > > your feature needs, it just needs to know the feature weight argument > > (using @ABBR_FULL_MAP), as described at the bottom of this page > > http://www.statmt.org/moses/?n=Moses.FeatureFunctions > > > > cheers - Barry > > > > On Monday 23 April 2012 10:07:33 Neda NoorMohammadi wrote: > > > Thanks for your attention. > > > This variable is defined in "scan_config" subroutine. Also, this issue > > > generally is mentioned in manual. > > > > > > On Mon, Apr 23, 2012 at 1:08 PM, Barry Haddow > > > > <[email protected]>wrote: > > > > Hi Neda > > > > > > > > > How can I assign 2 files to my model in "%where_is_filename" > > > > > variable in mert-moses.perl file while this variable gets only a > > > > > value for > > > > every > > > > > > > key? > > > > > > > > Where is this variable mentioned? I couldn't see it in the mert > > > > script. > > > > > > > > cheers - Barry > > > > > > > > On Monday 23 April 2012 09:30:08 Neda NoorMohammadi wrote: > > > > > Hi moses, > > > > > > > > > > I have added a new feature to moses. The model of this feature > > > > consists > > > > > > of > > > > > > > > > 2 files. Since the specification of a model includes information > > > > > such as the file name and the number of needed files for > > > > > calculating of feature, we should tell MERT where to find this > > > > > information in %where_is_filename and %where_is_lambda_count. > > > > > How can I assign 2 files to my model in "%where_is_filename" > > > > > variable in mert-moses.perl file while this variable gets only a > > > > > value for > > > > every > > > > > > > key? > > > > > > > > > > Thanks > > > > > > > > -- > > > > Barry Haddow > > > > University of Edinburgh > > > > +44 (0) 131 651 3173 > > > > > > > > -- > > > > The University of Edinburgh is a charitable body, registered in > > > > Scotland, with registration number SC005336. > > > > -- > > Barry Haddow > > University of Edinburgh > > +44 (0) 131 651 3173 > > > > -- > > The University of Edinburgh is a charitable body, registered in > > Scotland, with registration number SC005336. > -- Barry Haddow University of Edinburgh +44 (0) 131 651 3173 -- 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
