the last time I checked, IRSTLM also compiles and runs under Cygwin too.

but Ken is right - someone should take ownership of keeping the 
Moses-on-Windows guide up-to-date and patching changes to keep it 
running on Windows. It would be a shame if it diverges from Windows now 
that Amittai has made it work

On 14/03/2012 20:59, Kenneth Heafield wrote:
> Hi,
>
>       Somebody who uses Windows should probably update that guide.  Please
> pull a newer version from git:
>
> git clone [email protected]:moses-smt/mosesdecoder.git
>
> then ./bjam instead, mostly following the Linux BUILD-INSTRUCTIONS.txt.
>    To answer your specific issue, if you don't provide arguments to bjam
> (which replaces configure), then you need to use KenLM by changing the
> first digit of your lmodel-file entry to 8 in moses.ini like so:
>
> [lmodel-file]
> 8 0 5 /path/to/foo.arpa
>
>       Also, theoretically the decoder might compile natively in Visual Studio
> (including a working KenLM), but I'm not sure we're prepared to support
> that yet.
>
> Kenneth
>
> On 03/13/2012 10:19 AM, Đỗ Công Sơn wrote:
>> Hello,
>>
>> I’m using the document “Moses on Win7” by Amittai Axelrod to build Moses
>> Decoder with Cygwin on Win7.
>>
>> At compile-Moses step, we have using */./configure/* instead of
>> */./configure --with-srilm./*
>>
>> A content in “Moses on Win7” :
>>
>> ------------------------------------------------------------------------------
>>
>> /mkdir -p ~/bin/moses-scripts//
>>
>> /cd ~/moses//
>>
>> /./regenerate-makefiles.sh/
>>
>> /./configure/
>>
>> /make/
>>
>> //
>>
>> Note that unlike installing on Linux, you don't use the --with-srilm
>> (nor any other language model) flag when running configure.
>>
>> ------------------------------------------------------------------------------
>>
>> When we reach tuning steps, I unfortunately get an error and seems to be
>> nothing any help to overcome this problem.
>>
>> Our command on Cygwin :
>>
>> -------------------------------------------------------
>>
>> nohup nice
>> /home/CongSon/bin/moses-scripts/scripts-20120309-1019/training/mert-moses.pl
>> /home/CongSon/work/tuning/nc-dev2007.lowercased.fr
>> /home/CongSon/work/tuning/nc-dev2007.lowercased.en
>> /home/CongSon/moses/moses-cmd/src/moses.exe
>> /home/CongSon/work/model/moses.ini --working-dir
>> /home/CongSon/work/tuning/mert --mertdir /home/CongSon/moses/mert
>> --rootdir /home/CongSon/bin/moses-scripts/scripts-20120309-1019
>> --decoder-flags "-v 0">&  /home/CongSon/work/tuning/mert.out
>>
>> ------------------------------------------------------------------------------
>>
>> This is a short message in */mert.out/*
>>
>> -----------------------------------------------------------------------------
>>
>> /Creating lexical reordering.../
>>
>> /weights: 0.300 0.300 0.300 0.300 0.300 0.300 /
>>
>> /Loading table into memory...done./
>>
>> /ERROR:Language model type unknown. Probably not compiled into library/
>>
>> /ERROR:no LM created. We probably don't have it compiled/
>>
>> /Exit code: 1/
>>
>> /The decoder died. CONFIG WAS /
>>
>> ------------------------------------------------------------------------------
>>
>> We try to change *[lmmodel-file]* option in *moses.ini*. So it cannot
>> affect on outcome.
>>
>> What can I do to fix this bug? Please, help me!
>>
>> Best Regards,
>>
>> Cong Son
>>
>>
>>
>> _______________________________________________
>> Moses-support mailing list
>> [email protected]
>> http://mailman.mit.edu/mailman/listinfo/moses-support
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to