If you are using the EMS, this should be in your EMS config file
   [GENERAL]
   ....
   external-bin-dir = path


* Looking for MT/NLP opportunities *
Hieu Hoang
http://moses-smt.org/


On 17 May 2017 at 11:39, Rofael Behnam <rofaele...@gmail.com> wrote:

>
>
> Hello,
> I run EMS using experiment.perl, is this will be allowed?
>
> I appreciate your understanding.
> Thanks in advance.
>
> Best Regards,
> *Rofael Emil Fayez Behnam*
> Bachelor of Science in Computer and Systems Engineering,
> Faculty of Engineering,
> Alexandria University,
> Egypt.
>
> On 17 May 2017 at 12:57, Hieu Hoang <hieuho...@gmail.com> wrote:
>
>> delete the code you added.
>>
>> When running the script, add the argument
>>    -external-bin-dir [path]
>> where [path] is the directory that contains the executables mkcls, GIZA++
>> or mgiza, and snt2cooc
>>
>> * Looking for MT/NLP opportunities *
>> Hieu Hoang
>> http://moses-smt.org/
>>
>>
>> On 17 May 2017 at 09:10, Rofael Behnam <rofaele...@gmail.com> wrote:
>>
>>> Hello,
>>> Kindly find train-model.perl attached.
>>> I only added this line
>>> my $_EXTERNAL_BINDIR = '/home/rbehnam/mosesdecoder/external-bin-dir';
>>> at line 149 to try to solve the error during running EMS with
>>> transliteration option.
>>>
>>> I appreciate your understanding.
>>> Thanks in advance.
>>>
>>> Best Regards,
>>> *Rofael Emil Fayez Behnam*
>>> Bachelor of Science in Computer and Systems Engineering,
>>> Faculty of Engineering,
>>> Alexandria University,
>>> Egypt.
>>>
>>> On 17 May 2017 at 10:55, Hieu Hoang <hieuho...@gmail.com> wrote:
>>>
>>>> what is the exact command you run to get the error? Can you please send
>>>> me the file
>>>>   /home/rbehnam/mosesdecoder/scripts/training/train-model.perl
>>>>
>>>> * Looking for MT/NLP opportunities *
>>>> Hieu Hoang
>>>> http://moses-smt.org/
>>>>
>>>>
>>>> On 17 May 2017 at 08:45, Rofael Behnam <rofaele...@gmail.com> wrote:
>>>>
>>>>> Hello,
>>>>> I have downloaded it from https://github.com/moses-smt/mosesdecoder
>>>>> This month. I only use Moses, I didn't change anything in code.
>>>>>
>>>>> I appreciate your understanding.
>>>>> Thanks in advance.
>>>>>
>>>>> Best Regards,
>>>>> *Rofael Emil Fayez Behnam*
>>>>> Bachelor of Science in Computer and Systems Engineering,
>>>>> Faculty of Engineering,
>>>>> Alexandria University,
>>>>> Egypt.
>>>>>
>>>>> On 17 May 2017 at 00:59, Hieu Hoang <hieuho...@gmail.com> wrote:
>>>>>
>>>>>> approximately when and where did you download the Moses code from? Or
>>>>>> have you changed the code?
>>>>>>
>>>>>> Line 149 in your script doesn't seem to correspond to line 149 in the
>>>>>> script on github
>>>>>>
>>>>>>
>>>>>> * Looking for MT/NLP opportunities *
>>>>>> Hieu Hoang
>>>>>> http://moses-smt.org/
>>>>>>
>>>>>>
>>>>>> On 16 May 2017 at 14:05, Rofael Behnam <rofaele...@gmail.com> wrote:
>>>>>>
>>>>>>> Hello,
>>>>>>> Hope all is good.
>>>>>>> I got that error
>>>>>>> Error
>>>>>>> *****
>>>>>>> "my" variable $_EXTERNAL_BINDIR masks earlier declaration in same
>>>>>>> scope at /home/rbehnam/mosesdecoder/scripts/training/train-model.perl
>>>>>>> line 149.
>>>>>>> Using SCRIPTS_ROOTDIR: /home/rbehnam/mosesdecoder/scripts
>>>>>>> Using multi-thread GIZA
>>>>>>> using gzip
>>>>>>> Use of uninitialized value $GIZA in -x at
>>>>>>> /home/rbehnam/mosesdecoder/scripts/training/train-model.perl line
>>>>>>> 491.
>>>>>>> ERROR: Cannot find mkcls, GIZA++/mgiza, & snt2cooc.out/snt2cooc in
>>>>>>> /home/rbehnam/mosesdecoder/external-bin-dir.
>>>>>>> You MUST specify the parameter -external-bin-dir at
>>>>>>> /home/rbehnam/mosesdecoder/scripts/training/train-model.perl line
>>>>>>> 491.
>>>>>>> *****************************
>>>>>>> The files:  mkcls, GIZA++, & snt2cooc.out, are in external-bin-dir
>>>>>>> and EMS works well but on adding transliteration option, this error 
>>>>>>> occurs,
>>>>>>> although train-model.perl is also called with EMS without 
>>>>>>> Transliteration
>>>>>>> option.
>>>>>>>
>>>>>>> Please, help me use transliteration option with EMS.
>>>>>>> Thanks in advance.
>>>>>>>
>>>>>>> Best Regards,
>>>>>>> *Rofael Emil Fayez Behnam*
>>>>>>> Bachelor of Science in Computer and Systems Engineering,
>>>>>>> Faculty of Engineering,
>>>>>>> Alexandria University,
>>>>>>> Egypt.
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Moses-support mailing list
>>>>>>> Moses-support@mit.edu
>>>>>>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to