Re: [Moses-support] A guide to running Moses on Windows 7

2011-07-16 Thread Amittai Axelrod
Even for the last stable release of Moses? I thought that predates the kenlm release by a couple months. ~amittai -Original Message- From: moses-support-boun...@mit.edu [mailto:moses-support-boun...@mit.edu] On Behalf Of Kenneth Heafield Sent: Saturday, July 16, 2011 9:55 PM To: moses-s

Re: [Moses-support] A guide to running Moses on Windows 7

2011-07-16 Thread Amittai Axelrod
wait-a-sec, kenlm doesn't generate LM's, does it? Then that goes under "running Moses", which is already pretty well documented. I'm not trying to replace the Moses wiki! I think the missing step in the Moses-on-Windows documentation is "how do you install the tools to generate a language

Re: [Moses-support] A guide to running Moses on Windows 7

2011-07-16 Thread Kenneth Heafield
> If any of the IRSTLM/KenLM/$foo-LM –using folks on here have > instructions or experience with compiling their particular tool under > Cygwin, lemme know, and I’ll either include it or point to it. I > guarantee dozens of extra downloads! Sure, here's how you compile KenLM and link it into Moses

Re: [Moses-support] A guide to running Moses on Windows 7

2011-07-16 Thread Tom Hoar
A native Windows moses decoder is a popular, but not popular enough for anyone to commit the resources (yet?). "Using the Internal LM is a bad idea..." KenLM is inference-only. So, why not scrap the old Internal LM altogether and officially replace with KenLM -- regardless of a Windows ver

Re: [Moses-support] Error at train-model.perl in hierarchical models

2011-07-16 Thread Philipp Koehn
Hi Aleksandre, you cannot have a reordering model when you use the hierarchical model. Remove "-reordering msd-bidirectional-fe" from the invocation. -phi On Sat, Jul 16, 2011 at 11:49 PM, Alexandre Helle wrote: > Hi, > > I'm switching from phrase-based models to tree-based models. When I la

[Moses-support] Error at train-model.perl in hierarchical models

2011-07-16 Thread Alexandre Helle
Hi, I'm switching from phrase-based models to tree-based models. When I launch the script train-model.perl I get the next error: $ $SCRIPTS_ROOTDIR/training/train-model.perl -scripts-root-dir $SCRIPTS_ROOTDIR -root-dir $f-$e -corpus data/low/train.cln -f $f -e $e -alignment grow-diag-final-and -r

Re: [Moses-support] A guide to running Moses on Windows 7

2011-07-16 Thread Amittai Axelrod
Oh, you kids and your silly file deletions! All the changes to Makefile etc etc could be applied automagically with a perl script if there's a flag that says "compile under Cygwin". I seem to recall someone proposing this a couple years ago, but nothing came of it. If there was such a flag, then

Re: [Moses-support] A guide to running Moses on Windows 7

2011-07-16 Thread Kenneth Heafield
I use the following: errno, sterror_r, open, close, mmap, munmap, ftruncate, fstat (for file size), lseek, read, and write Apparently the Windows equivalent to mmap is CreateFileMapping. If there's a windows user out there who wants native calls and is willing to help #ifdef, contact me. I pro

Re: [Moses-support] Phrase table scoring runs too long

2011-07-16 Thread Česlav Przywara
Thanks Hieu, it seems to be indeed the case of often-seen source phrases - there was a new increment of output after next 2 hours. on 16/07/11 07:27 Hieu Hoang said the following: > it may be you have a slow disk, or the filesystem isn't reporting > up-to-date timestamp. I think this can happen