make a copy of SkeletonLM and name it xLM. Add it to Factory.cpp

In the moses.ini file, use xLM instead of KENLM or IRSTLM

On 28/09/2015 03:24, Arturo Argueta wrote:
Thanks for reply Hieu.
I've been digging through the moses code for the last couple of days trying to modify SkeletonLM, and I have a couple of questions.

- on the LM/ directory there's support for other Language Models such as SRI,RDLM, etc. How can I debug my language model? e.g. xLM. I assume that I have to modify the Jamfile first to include my cpp files and headers, but do you have any suggestions on testing? - I tried finding on moses way to switch language models (I know KenLM is default), but is there any way to use my prototype language model (or SkeletonLM) for testing?

Thanks for the advise.

Arturo


On Wed, Sep 23, 2015 at 7:46 AM, Hieu Hoang <[email protected] <mailto:[email protected]>> wrote:

    there's a example language model code
       moses/LM/SkeletonLM.*



    On 21/09/2015 19:24, Arturo Argueta wrote:
    I was wondering if there's any documentation out there on how to
    use/integrate a self-made LM on moses.
    Any pointers will be appreciated.

    Thanks


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

-- Hieu Hoang
    http://www.hoang.co.uk/hieu



--
Hieu Hoang
http://www.hoang.co.uk/hieu

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

Reply via email to