Hi,

I'd suggest to check if the data is clean, i.e. if there are
no extraneous spaces, including DOS line breaks.
Since this happens early on, it is worth checking how
the sentences, the GIZA++ alignments and the symmetrized
alignments look like.

-phi

On Dec 10, 2007 7:07 PM, leonardo <[EMAIL PROTECTED]> wrote:
> I am running the training scripts but I got an "alignment point out of range
> error". This is the log's tail:
>
>
> Executing: 
> /users3/leonardo/bin/scripts-20070515-2112/training/symal/giza2bal.pl
> -d "zcat
> /users3/leonardo/nahuatl/itesm/code/tmp/wd/giza.es-en/es-en.A3.final.gz" -i
> "zcat /users3/leonardo/nahuatl/itesm/code/tmp/wd/giza.en-es/en-es.A3.final.gz"
> |/users3/leonardo/bin/scripts-20070515-2112/training/symal/symal
> -alignment="grow" -diagonal="yes" -final="yes" -both="yes" >
> /users3/leonardo/nahuatl/itesm/code/tmp/wd/model/aligned.grow-diag-final-and
> symal: computing grow alignment: diagonal (1) final (1)both-uncovered (1)
> skip=<0> counts=<1460>
> (4) generate lexical translation table 0-0 @ Mon Dec 10 18:15:09 CST 2007
> (1.0.5) reducing factors to produce
> /users3/leonardo/nahuatl/itesm/code/tmp/wd/model/aligned.0.en  @ Mon Dec 10
> 18:15:09 CST 2007
>
> (1.0.5) reducing factors to produce
> /users3/leonardo/nahuatl/itesm/code/tmp/wd/model/aligned.0.es  @ Mon Dec 10
> 18:15:09 CST 2007
>
> (4) [0-0] generate lexical translation table @ Mon Dec 10 18:15:09 CST 2007
> !alignment point (2,1) out of range (0-1,0-1) in line 2, ignoring
> alignment point (3,2) out of range (0-1,0-1) in line 2, ignoring
> alignment point (4,3) out of range (0-1,0-1) in line 2, ignoring
> alignment point (4,5) out of range (0-1,0-1) in line 2, ignoring
> alignment point (5,6) out of range (0-1,0-1) in line 2, ignoring
> ...
> ...
> ...
>
>
>
>
> Actually, all lines are ignored except line 1. I suspect that moses doesn't 
> like
> file's format I am using (perhaps the newlines characters). I tested the
> training scripts with the wmt07 data and I didn't get this error.
>
> Any Idea?
>
>
>
>
> _______________________________________________
> 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