There's LanguageModelJoint that models several factors. However, it hasn't been used for a long time. From the code, I know it won't work anymore.

There's an abstract class (LanguageModelMultiFactor) ready for SRILM factored models. But no-one's gotten round to actually integrating SRILM's model in the past 10 years. Hopefully with interest in all things bilingual LM, someone might do it.

On 02/02/15 10:49, joerg wrote:

I would like to have an LM over several factors (in a factored phrase-based model). What would be the proper way to train and integrate such a model in Moses? Is it straightforward to use the factored models in SRILM? Can they be binarized in the same way as other models?

Could I otherwise also train a standard LM (say KenLM) over several factors and the decoder can deal with it? If that is possible, how do I have to format my input for KenLM parameter estimation? Simply concatenating the factors I need with '|'?

Thanks for helping!
Jörg

**********************************************************************************
Jörg Tiedemann http://stp.lingfil.uu.se/~joerg/ <http://stp.lingfil.uu.se/%7Ejoerg/>





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

--
Hieu Hoang
Research Associate (until March 2015)
** searching for interesting commercial MT position **
University of Edinburgh
http://www.hoang.co.uk/hieu

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

Reply via email to