Hi,

 

You are correct it is a path to the Moses JAR file. The thing is when we were 
doing this, we ended up using
the Moses REST service. 

 

I am actually working on a project right now that will help clean this up. I 
will be working on it. You can see
the project here:

 

http://github.com/chrismattmann/bigtranslate/ 

 

Cheers,

Chris

 

 

 

From: "[email protected]" <[email protected]>
Reply-To: <[email protected]>
Date: Thursday, March 29, 2018 at 12:04 AM
To: <[email protected]>
Subject: How to use Moses Translator in Apache Tika?

 

I am trying to use Apache Tika for machine translation in a Java project, 
specifically the MosesTranslator class. I have installed Moses by following the 
instructions given in this link. 

 

However, in the docs for MosesTranslator, it is given that we need to provide 
two variables, smtPath and scriptsPath, in the constructor :-       
MosesTranslator(String smtPath, String scriptPath) 

 

What values should be provided for these variables? It seems smtPath should be 
a path to some jar file for Moses, but I can't any jar file after installing 
Moses.

 

Reply via email to