Hi, there is no notion of special tokens such as placeholders, so they may be reordered at will.
Your intended behaviour could be addressed with XML markup: <zone> {} <wall> Processor <wall> {} </zone> http://www.statmt.org/moses/?n=Moses.AdvancedFeatures#ntoc15 Alternatively, you can remove all placeholders from the input, record their position and then use the word alignment reported by the decoder to place tags. -phi On Tue, Jul 31, 2012 at 12:05 AM, Henry Hu <henryhu...@gmail.com> wrote: > Hi, > > I use a model to translate English to French. First, I replaced HTML > tags such as <a>, <b>, with the placeholder {}, like this: > > {}Processor{} > > Then decoding. To my confusion, I got the result: > > {}{} processeur > > instead of {}processeur{}. Why did the placeholder move? How can I > make it fixed? Thanks for any suggestion. > > Henry > _______________________________________________ > Moses-support mailing list > Moses-support@mit.edu > http://mailman.mit.edu/mailman/listinfo/moses-support >
_______________________________________________ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support