if you're looking to run moses in java, you can create a moses static library (dll in windows). The moses functions can then be called in Java via JNI. There is some old code for it in the android branch
   https://github.com/moses-smt/mosesdecoder/tree/android-ui

or you can just spawn the moses command line executable in java

On 06/07/2012 08:43, Coote, Ravi wrote:

Dear Moses-List,

I'd like to integrate a (simple baseline) phrase-based French-English decoder into a java based (service oriented) environment.

I trained the phrase tables already with the moses kit and decoding with moses worked also fine.

But to integrate it smoothly into the java environment I like to use a decoder that's written in Java and which can read the phrase tables created with moses.

My questions therefore are:

1)Is Pharaoh able to read phrase tables created with moses?

2)If yes, do I need to convert them?

3)Is there another java-based decoder for moses' phrase tables?

Thanks in advance.

Best Regards,

Ravi Coote



_______________________________________________
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