Thanks for your mail, I missed that experiment.perl was not designed
for training with IRSTLM. I also just found the LM-setting:
   lm-training = $srilm-dir/ngram-count

obviously this will fail. Perhaps I can somehow make that

   lm-training = path-to-irstlm/build-lm.sh
   order = 5
   settings = ...irstlm arguments... and figure out how order above is
passed to -n here...

Again, thanks! /Greg


On Fri, May 27, 2011 at 10:42 AM, Barry Haddow <[email protected]> wrote:
> Hi Greg
>
> The instructions that you refer to are for when you want to use irstlm in
> decoding. As far as I can see, the only options for training language models
> in experiment.perl are srilm and randlm
> (http://www.statmt.org/moses/?n=FactoredTraining.EMS#ntoc14).
>
> If you want to train using irstlm, then you can train outside of
> experiment.perl (see the irstlm manual for details) then specify the trained
> language model in experiment.perl using something like:
>
> [LM]
> order = 5
> [LM;mylm]
> lm = path/to/my/lm
>
> You should also remove all mentions of srilm in your config file.
>
> best regards - Barry
>
> On Friday 27 May 2011 09:16, Greg Wilson wrote:
>> Hi, first let me thank the people who are making Moses available, your
>> work is very appreciated!
>>
>> I am trying to run experiment.perl on an installation with only IRSTLM
>> (SRILM is not installed). This works perfectly fine if I do the
>> experiments manually.
>>
>> I followed this instruction for configuring the experiment to only use
>> IRSTLM: http://www.statmt.org/moses/?n=FactoredTraining.EMS#ntoc13
>> The instruction is quite clear: uncomment lm-binarizer and
>> lm-quantizer, which I did.
>>
>> The problem is that it seems like experiment.perl still try to use SRILM:
>>
>> perl $m/scripts-20110520-1542/ems/experiment.perl -config config.toy
>> Use of implicit split to @_ is deprecated at
>> /usr/local/bin/scripts-20110520-1542/ems/experiment.perl line 2145.
>> STARTING UP AS PROCESS 14381 ON liveserver0 AT Fri May 27 06:45:00 UTC 2011
>> LOAD CONFIG...
>> find: `/usr/local/srilm/bin/i686/ngram-count*': No such file or directory
>> LM:lm-training: file /usr/local/srilm/bin/i686/ngram-count does not exist!
>> find: `/usr/local/srilm/bin/i686*': No such file or directory
>> GENERAL:srilm-dir: file /usr/local/srilm/bin/i686 does not exist!
>> Died at /usr/local/bin/scripts-20110520-1542/ems/experiment.perl line 360.
>>
>> Is it possible to do what I want; to configure an
>> experiment.perl-experiment to only use IRSTLM, or are there hardwired
>> calls to SRILM somewhere in there?
>>
>> Thankful for any advice,
>> /Greg
>> _______________________________________________
>> Moses-support mailing list
>> [email protected]
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>
> --
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to