you shouldn't need to run an older moses to get it working. I always use mgiza to run the Europarl experiments which is available for download as part of the Moses release http://www.statmt.org/moses/RELEASE-1.0/models/ If you have time, it would help us and yourself if you debug your setup to see why it's not working.
yes, -external-bin-dir is mandatory. A while ago, there were problems because the mgiza program has a number of different names - mgiza or mgizapp. However, that is fixed now - it should always be called mgiza On 13/04/2013 12:58, Daniel Schaut wrote: > train-model.perl dies at line 265 - cannot find merge_alignment.py > > 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 gitcb and builtMoses with mgiza for > the first time.Unfortunately,train-model.perl dies atline265 > telling me thatmerge_alignment.py cannot be found. > > All9binsincludingthatpyscript are inone 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 mea hand with that. > > Thanks a lot in advance, > > dan > > > > > _______________________________________________ > > Moses-support mailing list > > [email protected] <mailto:[email protected]> > > http://mailman.mit.edu/mailman/listinfo/moses-support > _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
