Hi All,

 

To try incremental mode, I’ve trained the europarl (fr en)
corpus with the option “-final-alignment-model hmm”

I obtain following files:

In
/train/giza.fr-en/:

En-fr.Ahmm.5.gz

En-fr.aahmm.5

En-fr.cooc

En-fr.gizacfg

En-fr.hhmm.5

En-fr.thmm.5

 

And in /train/giza.en-fr/ :

Fr-en.Ahmm.5.gz

Fr-en.aahmm.5

Fr-en.cooc

Fr-en.gizacfg

Fr-en.hhmm.5

Fr-en.thmm.5

 

In /train/model/:

Aligned.grow-diag-final-and

Extract.inv.sorted.gz

Extract.o.sorted.gz

Extract.sorted.gz

Moses.ini

Phrase-table.gz

Reordering-table.wbe-msd-bidirectional-fe.gz

 

Moses is built with option –with-mm.

 

What I’ve done to build binary file:

% zcat fr-en.Ahmm.5.gz | mtt-build –i –o /mypath/corp.fr

% zcat en-fr.Ahmm.5.gz | mtt-build –i –o /mypath/corp.en

% cat aligned.grow-diag-final-and | symal2mam
/mypath/corp.fr-en.mam

No problem til there...

% mmlex-build /mypath/corp fr en – o /mypath/corp.fr-en.lex

Error:

Terminate called after throwing an instance of
‘util::Exception’

   what(): out of bounds at line 1

Terminate called recursively

Abandon

 

So I wanted to know if the steps before mmlex-build are
good?

Did someone manage to use incremental mode?

 

Thanks in advance,

Laurent

 

 

 

 

 

 

                                          
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to