Hello,

Thanks for your answer.
But these are not my problems,

1. I execute Moses in no random directory,

2. The path are true,

3. also the codes which gives "can not execute ..." ( a call function in
mert script), will be executed separately in command prompt with no error in
the same path.

Meanwhile, I have a folder that I have put all of the MT tools there, such
as: moses, GIZA++, moses-scripts, ...
I run all these tools in MtTools branch. The code is:

nohup nice 
./moses-scripts/scripts-20110910-1816/training/mert-moses.plCorpus/MreferenceTest/fr-e-test.276-1.txt
Corpus/MreferenceTest/en-e-test.276-1.txt ./moses/moses-cmd/src/moses
prj/test/model/moses.ini --working-dir prj/test/tuning/mert --rootdir
./moses-scripts/scripts-20110910-1816/ --decoder-flags "-v 0" >&
prj/test/tuning/mert.out

I have previously tuned systems in this manner with same configuration
without error! I uninstalled the previous moses and installed a new moses
that this problem came up.

What is your suggestion?

Thanks a lot
Neda

On Sat, Sep 10, 2011 at 7:24 PM, Germán Sanchis Trilles <
[email protected]> wrote:

> 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.plscript 
> 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 <http://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 <http://filter-model-given-input.pl>": No such file
>> or directory at
>> ./moses-scripts/scripts-**20110910-1816/training/mert-**moses.pl<http://mert-moses.pl>line
>>  1035.
>> Failed to execute: ./moses-scripts/scripts-**20110910-1816//training/
>> filter**-model-given-input.pl <http://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