I've tested to run mgiza with an older cb excluding the -external-bin-dir
flag. It's running now.

This post helped:

http://www.mail-archive.com/[email protected]/msg05210.html

 

To get it running with the new build should be doable. Is the
-external-bin-dir flag mandatory in the lasted cb?

 

Thanks so much!

 

Von: [email protected] [mailto:[email protected]] Im
Auftrag von Hieu Hoang
Gesendet: Samstag, 13. April 2013 11:37
An: [email protected]
Betreff: Re: [Moses-support] train-model.perl dies at line 265 - cannot find
merge_alignment.py

 

hmm, not really sure why this will give an error.

try using full paths for everything, eg
  ./train-model.perl         --> /home/daniel/moses/train-model.perl
  ~/smt/tools/mgiza/bin --> /home/daniel/smt/tools/mgiza/bin

On 12/04/2013 22:55, Daniel Schaut wrote:

Hi guys,

I recently moved the lasted git cb and built Moses with mgiza for the first
time. Unfortunately, train-model.perl dies at line 265 telling me that
merge_alignment.py cannot be found.

All 9 bins including that py script are in one directory:

/home/user/smt/tools/mgiza/bin

That's my command:

./train-model.perl -root-dir ~/smt/model -model-dir
~/smt/model/phrase-model/de-en -corpus ~/smt/model/corpus/de-en/corpus.clean
-f de -e en -alignment grow-diag-final-and -reordering mslr-bidirectional-fe
-score-options="--Goodturing" -parallel -external-bin-dir
~/smt/tools/mgiza/bin -mgiza -mgiza-cpus 2 -lm
0:3:/home/dan/smt/model/lm/de-en/lm.blm.en

What Am I doing wrong?

I was wondering if you could give me a hand with that.

Thanks a lot in advance,

dan






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

 

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

Reply via email to