1. don't use ~, fully specify the path.
2. copy the mgiza or giza++ executables and scripts to
~/mosesdecoder/tools. This is what i have in my directory
~/workspace/local/training-tools$ll total 12 drwxrwxr-x 2 s0565741 users
4096 Jul 23 2017 ./ drwxr-xr-x 8 s0565741 users 4096 May 28 09:26 ../
lrwxrwxrwx 1 s0565741 users 72 Jul 23 2017 merge_alignment.py->
/home/s0565741/workspace/github/mgiza/mgizapp/script
s/merge_alignment.py* lrwxrwxrwx 1 s0565741 users 55 Jul 23 2017 mgiza->
/home/s0565741/workspace/github/mgiza/mgizapp/bin/mgiza* lrwxrwxrwx 1
s0565741 users 55 Jul 23 2017 mkcls->
/home/s0565741/workspace/github/mgiza/mgizapp/bin/mkcls* lrwxrwxrwx 1
s0565741 users 58 Jul 23 2017 snt2cooc->
/home/s0565741/workspace/github/mgiza/mgizapp/bin/snt2cooc*
I recommend using mgiza rather than giza++
On Thu Sep 17,20 6:13 PM, Dhar wrote:
Hello,
This is my first email….so if I ask anything wrong , please treat with
consideration
I am following moses manual . I have done everything successful upto
the section 2.3.4 : LANGUAGE MODEL TRAINING . But in 2.3.5 : TRAINING
THE TRANSLATION SYSTEM I wrote the following code :
mkdir ~/working
cd ~/working
nohup nice ~/mosesdecoder/scripts/training/train-model.perl -root-dir
train \
-corpus ~/corpus/news-commentary-v8.fr-en.clean
\
-f fr -e en -alignment grow-diag-final-and -reordering
msd-bidirectional-fe \
-lm 0:3:$HOME/lm/news-commentary-v8.fr-en.blm.en:8
\
-external-bin-dir ~/mosesdecoder/tools >& training.out &
Then I text file named ‘training.out’ created in /home/dhar/working/
and this file gave me following message:
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.
Best Regards,
Argha Dhar
Bachelor of Science in Computer Science and Engineering,
Khulna University of Engineering & Technology
Bangladesh
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
--
Hieu Hoang
http://statmt.org/hieu
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support