Hello Marcin, Yes please. It would save me lots of time. Thanks.
Regards. On Wed, Nov 26, 2014 at 6:50 PM, Marcin Junczys-Dowmunt <[email protected]> wrote: > Hi, > > I have a JNI interface to my compact phrase table somewhere, I guess I can > put that in contrib within a day or two if there is interest. > > best, > > Marcin > > W dniu 2014-11-26 10:45, Barry Haddow napisaĆ(a): > > Hi Raj > > The format of these tables is not described anywhere. You'd have to read > the code in moses/TranslationModel/PhraseDictionaryTree.cpp, and then > try to convert it it Java. > > A better plan would be to use JNI to call the C++ code -- a similar > approach has been followed in the python interface in contrib/python. > This would insulate you from the low-level details, and from changes in > the format, > > cheers - Barry > > On 26/11/14 03:22, Raj Dabre wrote: > > Hello All, I know that Moses allows for binarization of a phrase table > which can be read on demand at decoding time. We get 5 files named: > phrase-table.binphr.* I want to write my own routine in Java to read phrase > pairs from these on demand. Can anyone guide me ? PS: If an explanation of > the same for binary reordering tables can be done then it would be great > too. Thanks in advance. -- Raj Dabre. Research Student, Graduate School > of Informatics, Kyoto University. CSE MTech, IITB., 2011-2014 > _______________________________________________ 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 > > -- Raj Dabre. Research Student, Graduate School of Informatics, Kyoto University. CSE MTech, IITB., 2011-2014
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
