Hi Luong,
it's pretty easy in the latest version of moses in github.
1. create a class that inherits from
LanguageModelSingleFactor
You should look at
LanguageModelIRST
and see how it's done
2. In
StaticData.cpp
look at the code that add IRSTLM and copy it for your LM
you should create a branch or fork of moses and make it available on
github. If you have any problems, I can see the code and help you. For
example, this is my own copy of the Moses code
https://github.com/hieuhoang/mosesdecoder
On 6 June 2013 17:55, Viet Thang Luong <[email protected]> wrote:
> Dear Mr. Hoang,
>
> My name is Luong Viet Thang, I'm studying at Ho Chi Minh University of
> Science, Vietnam - Faculty of Information Technology.
> I'm trying to integrate a new language model. It is combination of n-gram
> model and MI Trigger Model (Xiong et al, 2011) but I don't know how to
> start.
> I greatly appreciate your advice to help me to integrate my language
> model into Moses.
> I look forward to hearing from you!
>
> Yours faithfully,
>
> Luong Viet Thang
>
--
Hieu Hoang
Research Associate
University of Edinburgh
http://www.hoang.co.uk/hieu
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support