Hi Neda,

I would need a bit more information in order to know with for sure what the problem is. However, my guess is that you are using the mert-moses.pl script in some random directory, but the path to the moses scripts is not an absolute path. This is:

./moses-scripts/scripts-20110910-1816//training/filter-model-given-input.pl

the "./" part means that the system is looking for the filter-model-given-input.pl script starting in the current directory, which is probably not what you want. I guess that the $SCRIPTS_ROOTDIR variable is set so as to point to "./moses-scripts/scripts-20110910-1816/", which is a relative path. Most probably, what you want is an absolute path, something like "/home/neda/moses-scripts/scripts-20110910-1816/" (or whatever the path to the moses-scripts/scripts-20110910-1816/ folder is).

Hope that helps!

Cheers!

Germán



On Sat, 10 Sep 2011, Neda NoorMohammadi wrote:

Hello all,

When I am trying to tune a model with mert-moses.pl script, I got this error:

Can't exec 
"./moses-scripts/scripts-20110910-1816//training/filter-model-given-input.pl": 
No such file or directory at
./moses-scripts/scripts-20110910-1816/training/mert-moses.pl line 1035.
Failed to execute: 
./moses-scripts/scripts-20110910-1816//training/filter-model-given-input.pl 
./filtered
/media/Data__/neda/SMT/MTtools/prj/test/model/moses.ini 
/media/Data__/neda/SMT/MTtools/Corpus/MreferenceTest/fr-e-test.276-1.txt
  No such file or directory

This is the first time I encounter such an error.
what is the problem? It would be really great if you could help me.

Neda Noormohammadi

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

Reply via email to