Hi jorg

The max number of factors you can use in the decoder is 4 by default. 

To use more, change line 84 in TypeDef.h and recompile


Hieu Hoang
www.hoang.co.uk/hieu

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of J.Tiedemann
Sent: 27 October 2008 19:26
To: [email protected]
Subject: [Moses-support] out of range


one more thing about factored models:

I got the following error when using a generation step (0-4) to a target
language factor with an index (4) larger than the number of factors on the
source language side (=3):

terminate called after throwing an instance of 'std::out_of_range'
   what():  bitset::set
/bin/sh: line 1: 14432 Aborted

This is in decoding - not training.
It worked fine when I manually changed the factor index to, for example, 2
in the config file. not a big deal - I just wanted to mention it.


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