the guide is specifically for the last packaged release of Moses, from
last August. if you're running the latest dev release of Moses, well,
best of luck!

anyone who has strong feelings about documentation languishing behind
the state of the dev code should feel heartily empowered to fix it
themselves, in their copious free time *grin*

updating documentation is a royal pain in the ass; i have no desire to
keep patching every three days (and heck, i still have changes to the
Win7 guide that i haven't added due to time). i may keep updating the
Win7 guide [and i'm writing one for OS X 10.7 as we speak, as the most
recent Mac docs i can find are for 10.5 by Josh Schroeder], but it's
certainly not going to be any more often than every packaged Moses
release. if someone gives me advance notice of the next release, i'll
update the doc & include the pdf & .tex in time to get it on github so
it can be included with the code.

~amittai

ps i note with some satisfaction, however, that someone fixed most of
the bugs in giza++ that i illustrated in my Win7 guide, so it seems
that the Win7 guide has been useful to the general MT community, no
matter how indignant individual members may be about some particular
OS :P

On 14 March 2012 09:47, Hieu Hoang <[email protected]> wrote:
> 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