Re: Compiling Moses with IRSTLM
Jehan Pages <jehan@...
2011-10-03 04:25:29 GMT
On Mon, Sep 26, 2011 at 6:44 PM, Kenneth Heafield <moses@...> wrote:
> Since the sample language models are provided for you, it is no
> longer necessary to compile SRILM or IRSTLM (though you can if you want
> to use the specific features they provide; otherwise they're just
> slower). I've updated the getting started documentation.
Thanks. It works better now that I know where to configure the LM
toolkit. You just made a small mistake by updating the page: it
seems you removed the command for running Moses with the samples:
../moses-cmd/src/moses -f phrase-model/moses.ini < phrase-model/in > out
(Note: this is to be run from sample-models/ as it tries to open
lm/europarl.srilm.gz relatively to the current directory apparently)
Anyway thanks for the fast answers! Now that the basic test seems to
work well, I will try to follow the more comprehensive training guide.
> On 09/26/11 09:32, Jehan Pages wrote:
>> On Mon, Sep 26, 2011 at 3:48 PM, Nicola Bertoldi <bertoldi@...> wrote:
>>> I am going to release (very soon) a new version of Moses including new LM types
>>> Stay tuned on IRSTLM webpage
>>> If you need immediately, get the code from the IRSTLM SF repository
>>> you can download revision 452, which properly interfaces with the latest revision of Moses
>> Thanks for the answer. As right now, I am mainly testing this engine,
>> the development version from the repo suits me ok. Anyway Moses
>> compiled fine using revision 452 of IRSTLM. So that's great. Thanks
>> Also just to be sure, in the "getting started" page, the sample models
>> which are linked are only for SRILM, right? Because I wanted to test
>> as explained in the page, and I get:
>> Start loading LanguageModel lm/europarl.srilm.gz : [0.000] seconds
>> ERROR:Language model type unknown. Probably not compiled into library
>> Segmentation fault
>> Seeing the srilm.gz extension, I guess that won't work with only
>> IRSTLM compiled in. That information may be worth being updated into
>> the "Getting started" page.
>> I guess I'll have to test directly with more complete data.
>> Moses-support mailing list
> Moses-support mailing list