Hi Everyone, I am using -xml-input option with "constraint" flag to decode the test set. My understanding (for constraint flag) is that the translation option present in the xml tag must be used by the decoder and should be present in the output. But I didn't notice it to be true in the following example (a simplified version): *Input:* <n translation="is">is</n> going <n translation="the">the</n> *Output:* is to *Phrase Table Entry:* is going the ||| is to ||| .................. (in the trace I can notice that this entry is used by the decoder)
Here the xml translation option "the" is not present in the output. I guess I am not clear with how "constraint" flag works. Please let me know if anyone has any idea. I read here (http://www.statmt.org/moses/?n=Advanced.Hybrid#ntoc1) that "The XML-specified translation competes with phrase table choices that contain the specified translation" But in the above case the XML-specified translation "the" is also competing with phrase table choices that do not contain the specified translation ("the" is not present in the target side "). -- -Regards, Rajen Chatterjee.
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
