Hi Barry,
Thanks for the instructions.
I check the tmp directory and it seems that the align.0000 file is broken.
And I rerun the extract-parallel perl separately but it doesn't work either.
Here is the link to my small corpus.
https://www.dropbox.com/sh/beffab8g215awz6/2dCp0G_pdj

Thank you,
Hui

2014-02-24 18:46 GMT+01:00 Barry Haddow <bhad...@staffmail.ed.ac.uk>:

> Hi Hui
>
> I have a vague memory that very short corpora cause problems ...
>
> If you edit scripts/generic/extract-parallel.perl to comment out the
> following line (line 223 in my version):
>
> $cmd = "rm -rf $TMPDIR \n";
>
> then rerun, it should retain the tmp directory created during
> extraction. You could then rerun extract manually and look for the
> problem. If you don't see anything odd, then upload to pastebin of
> dropbox and send out the link - or just email if it's small.
>
> cheers - Barry
>
>
> On 24/02/14 16:00, 李惠惠 wrote:
> > Hi Barry,
> > I tried to use absolute paths like this:
> >
> > hli@themisto:~$ /home/hli/MT/moses/scripts/training/train-model.perl
> > /home/hli/MT -corpus /home/hli/MT/lm/1545.test.lowercased
> > -external-bin-dir /home/hli/MT/bin -e de -f ade -alignment
> > grow-diag-final-and -reordering msd-bidirectional-fe -lm
> > 0:3:/home/hli/MT/lm/1545.test.lm >& training.out &
> >
> > but the same error still exists.
> >
> > Is that anything wrong with my corpus?
> >
> > Best,
> > Hui
> >
> >
> > 2014-02-24 16:48 GMT+01:00 Barry Haddow <bhad...@staffmail.ed.ac.uk
> > <mailto:bhad...@staffmail.ed.ac.uk>>:
> >
> >     Hi Hui
> >
> >     It looks like your extract failed, but there is no error message.
> >     Do you think it ran out of disk? Could you try again, but use
> >     absolute paths everywhere?
> >
> >     cheers - Barry
> >
> >
>
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to