moses-smt/mosesdecoder — pull request #2 by arianna-bis (2011-11-16 13:09:00+00:00)
Title: Made xml markup tags configurable

I've added an option to specify the opening and closing symbols (or strings) of xml markup tags.
These are "< >" by default. Now if you have a text that already contains these symbols you may want to use different tags, for instance:

[xml-brackets]
{{ }}

Sample input to Moses:
five is > than {{np translation="quattro"}}four{{/n}} .

Particularly helpful when inserting tags into Buckwalter-translitared Arabic text that contains lots of "<" and ">".

Note: the change only affects text input mode, not tree input.