From: <jds...@us...> - 2007-05-24 13:23:40
|
Revision: 1398 http://mosesdecoder.svn.sourceforge.net/mosesdecoder/?rev=1398&view=rev Author: jdschroeder Date: 2007-05-24 06:23:36 -0700 (Thu, 24 May 2007) Log Message: ----------- Added support for pharaoh-style XML tags in Sentence input to supplement phrase table translation options. Use command line flag -xml-input. Possible values are: -inclusive (places XML options into mix with regular phrase table choices) -exclusive (no phrase table entries that overlap any of the XML source words are allowed) -ignore (XML markup is removed from input but not used during decoding) -pass-through (default, previous moses behavior: XML data is erroneously treated as words) Modified Paths: -------------- trunk/moses/src/Parameter.cpp trunk/moses/src/Sentence.cpp trunk/moses/src/Sentence.h trunk/moses/src/StaticData.cpp trunk/moses/src/StaticData.h trunk/moses/src/TargetPhrase.cpp trunk/moses/src/TargetPhrase.h trunk/moses/src/TranslationOptionCollection.cpp trunk/moses/src/TranslationOptionCollection.h trunk/moses/src/TranslationOptionCollectionText.cpp trunk/moses/src/TranslationOptionCollectionText.h trunk/moses/src/TypeDef.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |