Re: [Moses-support] Improved build system (was Failed to run mert at ./mert-moses-new.pl line 752.)

2011-09-29 Thread Hieu Hoang
it seems like squishing everything into a bin directory is a good idea for people who want to set their PATH variable to it. it would be useful to do moses --version train-model.perl --version and see when or which svn/git version it was built on. Didn't think it was possible but you

Re: [Moses-support] Improved build system (was Failed to run mert at ./mert-moses-new.pl line 752.)

2011-09-29 Thread Lane Schwartz
I know there's a way to put in the svn revision number. Not sure about git. On Thu, Sep 29, 2011 at 8:05 AM, Hieu Hoang hieuho...@gmail.com wrote: it seems like squishing everything into a bin directory is a good idea for people who want to set their PATH variable to it. it would be useful to

Re: [Moses-support] Compiling Moses with IRSTLM

2011-09-29 Thread Marcello Federico
Hi folks, although just slower you might indeed still want to compile IRSTLM and SRILM at least to estimate and build your LM files. We are currently working to get a new release of IRSTLM ready which should be both faster and thread safe. It will also provide new features that will allow to

Re: [Moses-support] Improved build system (was Failed to run mert at ./mert-moses-new.pl line 752.)

2011-09-29 Thread Lane Schwartz
This info is available for svn by calling svnversion. One way to embed this would be as follows: In the Makefile, add a line like this: export SVN_VERSION:=$(shell svnversion) That will set an environment variable with the svn version number. You should be able to then use this in some sort of

Re: [Moses-support] Improved build system (was Failed to run mert at ./mert-moses-new.pl line 752.)

2011-09-29 Thread Christian Hardmeier
I believe a common way to achieve this in svn is to put a $Revision$ tag somewhere in the file and set the keywords property on the file so svn modifies the tag appropriately: http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html Git doesn't seem to do that. This page has

Re: [Moses-support] Improved build system (was Failed to run mert at ./mert-moses-new.pl line 752.)

2011-09-29 Thread Lane Schwartz
Christian, You're correct, using the $Revision$ tag is the comment way to handle this in svn. The problem is that this will embed the latest version number where that particular file changed. What we want here is the latest revision where any file changed. Cheers, Lane On Thu, Sep 29, 2011

Re: [Moses-support] Improved build system (was Failed to run mert at ./mert-moses-new.pl line 752.)

2011-09-29 Thread Christian Federmann
Hi guys,   you can use a small script to extract the latest global revision number; for SVN, use svn info:     svn info | grep Revision: Revision: 841 $ svn info | grep Revision: Revision: 841 For git, you can use the following: $ git rev-parse --short HEAD 97d20f5 Cheers,    Christian  

Re: [Moses-support] analysis.perl output files

2011-09-29 Thread marco turchi
Hi Philipp, thanks a lot! it was exactly what I need. Cheers Marco On Wed, Sep 28, 2011 at 3:28 PM, Philipp Koehn pko...@inf.ed.ac.uk wrote: Hi, On Mon, Sep 26, 2011 at 5:40 PM, marco turchi marco.tur...@gmail.com wrote: corpus-coverage-summary and ttable-coverage-summary: what does

[Moses-support] errors with memscore when installing Moses20100813

2011-09-29 Thread Li Xianhua
Hi everyone, I tried to install moses20100813 but failed. I have installed moses20080711 and mosesdecoder in trunk, both of them work well. So I am confused why 20100813 failed. It seems memscore failed and here are the steps. 1.install giza++ and mkcls