Hi,

there is no tool distributed with Moses to do that.

-phi

On Sat, May 2, 2015 at 6:09 PM, liling tan <[email protected]> wrote:
> Dear Moses devs/users,
>
> I want to use the XML-Input to add constraints when decoding
> (http://www.statmt.org/moses/?n=Advanced.Hybrid#ntoc7)
>
> The example on the Moses page shows only an example with one xml input. I
> have 700,000 of those in a dictionary that I can search and replace using a
> python script to change the decoder's input file. It's rather slow when i'm
> decoding a huge file. I've to search through all 700,000 terms in the
> dictionary for each sentence and do a regex replace.
>
> Is there a cannonical way to add a dictionary for XML-input in moses?
>
> Is there a page that someone can point me to for that?
>
> Regards,
> Liling
>
> _______________________________________________
> 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