Hi Marco.

I'm facing the same problem right now and I found out that the code has an 
invalid assert. The IDs will never match. I try commenting that line and keep 
going but then I found out that the resulting vocabulary starts with an ID=2 
instead of ID=1 like the original vocabulary. 

Again, I changed that to keep going but then the snt2cooc threw a segmentation 
fault when I ran it in the inverse direction and even GIZA++ complained later 
when I tried to align in the src-trg direction.

Basically, I haven't been able to follow the steps described on the web. Did 
you solve it?

Now to Hieu.

With mgiza I haven't had any problems. 

That force alignment from mgiza, is really incremental? or it only uses the old 
models to align new sentences. 



________________________________
 De: Hieu Hoang <[email protected]>
Para: marco turchi <[email protected]> 
CC: moses-support <[email protected]> 
Enviado: Miércoles 22 de febrero de 2012 8:48
Asunto: Re: [Moses-support] problem using plain2snt.out for incremental training
 

Hi marco

Mgiza also offers incremental training (it's called forced alignment there). 

Not sure how it differs from abby levenbergs Giza version

Hieu
Sent from my flying horse

On 21 Feb 2012, at 04:40 PM, marco turchi <[email protected]> wrote:


Hi 
>I'm following the incremental training steps from the Moses web site and I'm 
>running the plain2snt command:
>plain2snt.out newData.lower.1.fr newData.lower.1.en -txt1-vocab 
>../training/prepared.1/fr.vcb -txt2-vocab ../training/prepared.1/en.vcb
>
>but I get this error
>plain2snt.out: plain2snt.cpp:28: int loadVocab(): Assertion `iid1.size()-1 == 
>ID' failed.
>
>and it is not clear to me what is going wrong... any ideas?
>
>I have trained the model using the last version of moses and I have downloaded 
>the incremental training scripts from the web site.
>
>Thanks a lot
>Marco
>
_______________________________________________
>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
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to