Hi Maria Sol,

There are some tools in the scripts directory that need building. You
should go into the scripts subdirectory of your moses source tree,
change some paths at the top of the Makefile there (see the comments in
the Makefile) and run 'make release'. This creates a new, "released"
scripts directory, which you should use as SCRIPTS_ROOTDIR rather than
the one from the sources. Have you done that?

Best,
Christian

On Fri, 23 Oct 2009, maria sol ferrer wrote:

> Hey, thanks but the scripts work fine.. I might just have copied it wrong on
> the message because there are no problems finding the scripts during the
> training... but did you see the error about the missing file? I cant find it
> manually either and it seems a bit weird that that file didnt come with
> moses.. thank you
> 
> 2009/10/21 Nicola Bertoldi <[email protected]>
> 
> Dear Maria Sol,
> >
> > it seems that the variable SCRIPTS_ROOTDIR is set wrongly (without the
> > initial slash '/')
> > (home/puchi/moses/scripts)
> >
> >
> >
> > please use the following option of the training script
> > "train-factored-phrase-model.perl"
> > --scripts-root-dir /home/puchi/moses/scripts
> >
> > best regards,
> > Nicola
> >
> > On 10/21/09 4:43 AM, "maria sol ferrer" <[email protected]> wrote:
> >
> > Hello everyone, after battling with step 2 of the
> > train-factored-phrase-model script I finally got through it, but I cant seem
> > to get past step 3 because apparently there is a missing file from the moses
> > scripts folder, I downloaded moses several times and I the file isnt there.
> > I cant really think of any fixes if I dont have the file. Please help!
> >
> > (3) generate word alignment @ Tue Oct 20 22:00:11 EDT 2009
> > Combining forward and inverted alignment from files:
> >  /home/puchi/moses/work/giza.fr-en/fr-en.A3.final.{bz2,gz}
> >  /home/puchi/moses/work/giza.en-fr/en-fr.A3.final.{bz2,gz}
> > Executing: mkdir -p /home/puchi/redsea/work/model
> > Executing: home/puchi/moses/scripts/training/symal/giza2bal.pl <
> > http://giza2bal.pl><http://giza2bal.pl>  -d "gzip -cd
> > /home/puchi/moses/work/giza.en-fr/en-fr.A3.final.gz" -i "gzip -cd
> > /home/puchi/moses/work/giza.fr-en/fr-en.A3.final.gz"
> > |home/puchi/moses/scripts/training/symal/symal -alignment="grow"
> > -diagonal="yes" -final="yes" -both="yes" >
> > /home/puchi/moses/work/model/aligned.grow-diag-final-and
> > sh: home/puchi/moses/scripts/training/symal/symal: not found
> > Exit code: 127
> > ERROR: Can't generate symmetrized alignment file
> >
> >
> >
> >

> _______________________________________________
> 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