I am using an older version (V1). I am not running a translation experiment but using Java Native Interface to call C functions. Can you tell me what might be the problem ? I can surely say that the root of the problem is in the StaticData.cpp file. It seems that I am creating 2 instances of a class trying to access a background moses process. Does this sound about right ?
On Thu, Dec 11, 2014 at 12:37 AM, Hieu Hoang <hieu.ho...@ed.ac.uk> wrote: > what version of Moses are you using? The current master branch on github, > or an older version (version 1 etc)? > > Can I please see the moses.ini file you're using too > > On 10 December 2014 at 12:34, Raj Dabre <prajda...@gmail.com> wrote: > >> Dear all, >> >> I am using a JNI interface to the CPP code that reads from binary phrase >> tables. >> >> I get an error like: Mismatch between number of word penalties and number >> of translation systems >> >> This happens when I create 2 objects for reading from 2 different tables. >> >> My understanding is that there is some problem with Static data but I am >> not sure. >> >> Can anyone help me ? >> >> -- >> Raj Dabre. >> Research Student, >> Graduate School of Informatics, >> Kyoto University. >> CSE MTech, IITB., 2011-2014 >> >> >> _______________________________________________ >> Moses-support mailing list >> Moses-support@mit.edu >> http://mailman.mit.edu/mailman/listinfo/moses-support >> >> > > > -- > Hieu Hoang > Research Associate > University of Edinburgh > http://www.hoang.co.uk/hieu > > -- Raj Dabre. Research Student, Graduate School of Informatics, Kyoto University. CSE MTech, IITB., 2011-2014
_______________________________________________ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support