How to use Moses Translator in Apache Tika?

218 Views Asked by At

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.

0

There are 0 best solutions below