On Mon, 2015-01-26 at 10:02 +0000, mohamed hasanien wrote: > when i run this SCRIPT I GET THIS ERROR > ERROR: use --corpus to specify corpus > at /root/mosesdecoder/scripts/training/tra > in-model.perl line 379.
Hi Mohamed, Well, yes, that script requires that you specify a couple of command line parameters. You're better off reading some of the descriptions on the Moses website first [http://www.statmt.org/moses/], e.g. the "Getting Started" section, the "Phrase-Based Tutorial" and "Experiment.Perl". Next you should try running the pipeline on small toy data with experiments.perl (aka the EMS). Once you've written a simple configuration file for it, the EMS will assemble and run all the commands for you. Cheers, Matthias > > > > > mohammed hassanien Mohammed > Egyption Programmers Vice-captain > 01000121556 > > Egyption Programmers Syndicate > > > > > On Sunday, January 25, 2015 3:33 PM, Matthias Huck > <[email protected]> wrote: > > > > If you're using the EMS (experiment.perl), you should edit the EMS > config to point to the right paths. > > Set > > moses-src-dir = $HOME/mosesdecoder > > to tell it where to find Moses. > > Cf. http://www.statmt.org/moses/?n=FactoredTraining.EMS#ntoc3 > > > > On Sun, 2015-01-25 at 20:39 +0000, Matthias Huck wrote: > > Your train-model.perl cannot be found in any of the directories in > the > > PATH environment variable. > > > > Add the directory to the command: > > $HOME/mosesdecoder/scripts/training/train-model.perl > > > > > > On Sun, 2015-01-25 at 20:29 +0200, mhmd hassnen wrote: > > > > > > > > > > > > > > > > hi all, > > > > when i try to y\run the following commend > > > > train-model.perl -external-bin-dir $HOME/mosesdecoder/tools > > > > i get this error > > > > -bash: train-model.perl: command not found > > > > > > > > > > > > mohammed hassanien Mohammed > > > > Egyption Programmers Vice-captain > > > > 01000121556 > > > > > > > > Egyption Programmers Syndicate > > > > > > > _______________________________________________ > > > Moses-support mailing list > > > [email protected] > > > http://mailman.mit.edu/mailman/listinfo/moses-support > > > > > > > > > > -- > The University of Edinburgh is a charitable body, registered in > Scotland, with registration number SC005336. > > > > > -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
