Yes, the link's descriptions are good explanations of the differences between "exclusive", "inclusive", constraint", ignore" and "pass-through." All descriptions, however, refer to the "phrase table" (t-table), which to my understanding does not include the distortion table. For example, "exclusive" says, "Any phrases from the phrase table that overlap with that span are ignored." There is no information about the effects of the reordering/distortion table.


On 05/01/2014 02:33 PM, Christophe Servan wrote:
Hi Tom,
As far as I understand there are diffrent ways to use it very well explained there:
http://www.statmt.org/moses/?n=Moses.AdvancedFeatures#ntoc11
Now ansering your questions,

    I have two questions about how the -xml-input entries in the
    markup tag work.

     1. Are the entries applied before the distortion table with the
        distortion table affecting the result, or are the entries
        applied as a net effect after the distortion table?

To me, it is another kind of decoding process, especially when the switch and the option "exclusive" are used. They seem to bypass completely the decoding process which uses the phrase-table and the distortion model. If you want to simply add a new translation hypothesis which does not already exist in your phrase table, use the "inclusive" option instead of "exclusive". Both processes will be use at the same time. But you will have no guaranty that your translation hypothesis, proposed with the xml-markup switch, is the one chosen by the decoder. As far as I know, the probability you gave in the xml tag correspond jointly to all the features and weights associated to the hypothesis.

     1. Do the entries override or supplement the weightings in the
        loaded SMT model's t-table/distortion table combination?

As I said, as far as I know, the exclusive mode, simply override the phrase-table and the distortion model, if you still want use them, you can use the mode "inclusive" for example.

Best,

Christophe


_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to