Hi,

On Saturday 15 of November 2008 17:55:04 Alok Kothari wrote:
> > I looked at line number 680 but I am not able to figure out anything.Also a
> > previous thread regarding a similar issue instructs to reinstall the entire
> > MOSES system,unfortunately thats not feasible in my case.Would replacing
> > the mert-moses file by a new file do the trick?Can it be replaced ? Is this
> > a path problem or something ?Please let me know whats wrong.

On Sat, Nov 15, 2008 at 18:06:53 +0100, Radek Bartoň replied
> Exit code 127 is "command not found" so check if enhanced-mert is existing or 
> any command it is executing is existing too.

One issue I've had is that the enhanced-mert scripts assumes that the
SCRIPT_ROOTDIR environment variable is set.  Normally, this should be
done by the mert-moses script, presumably by the line

use FindBin qw($Bin);
my $SCRIPTS_ROOTDIR = $Bin;

But for some reason, this doesn't work for me and the SCRIPTS_ROOTDIR
is silently set to the empty string.  I ended up hard-coding
SCRIPTS_ROOTDIR in the mert-moses scripts (and for that matter, in
train-factored-phrase-model), but does anybody have a better solution?

Thanks!

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to