From: <jds...@us...> - 2009-02-05 17:37:13
|
Revision: 2081 http://mosesdecoder.svn.sourceforge.net/mosesdecoder/?rev=2081&view=rev Author: jdschroeder Date: 2009-02-05 17:37:09 +0000 (Thu, 05 Feb 2009) Log Message: ----------- Support for multiple input feature scores on confusion networks and lattices. Use "link-param-count" to tell Moses how many to expect in the input. If weight-i (I) is one more than link-param-count, a feature for non-null word count will be added (this has actually always been there, but only for the 1 param, 2 weights scenario). Input feature scores are now preserved for unknown words. Unknown word penalty weight is now tunable with -weight-u (u), default is 1, as was hard-coded before. Changes to mert-moses.pl will be checked in shortly. Modified Paths: -------------- trunk/moses/src/ConfusionNet.cpp trunk/moses/src/ConfusionNet.h trunk/moses/src/Hypothesis.h trunk/moses/src/PCNTools.cpp trunk/moses/src/PCNTools.h trunk/moses/src/PDTAimp.h trunk/moses/src/Parameter.cpp trunk/moses/src/ScoreIndexManager.cpp trunk/moses/src/StaticData.cpp trunk/moses/src/StaticData.h trunk/moses/src/TargetPhrase.cpp trunk/moses/src/TargetPhrase.h trunk/moses/src/TranslationOption.cpp trunk/moses/src/TranslationOptionCollection.cpp trunk/moses/src/TranslationOptionCollection.h trunk/moses/src/TranslationOptionCollectionConfusionNet.cpp trunk/moses/src/WordLattice.cpp This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |