title: How to use Moses Translator in Apache Tika?
body: <p>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 <a href="http://www.statmt.org/moses/?n=Development.GetStarted" rel="nofollow noreferrer">link</a>.</p>
  
  <p>However, in the <a href="https://tika.apache.org/1.8/api/org/apache/tika/language/translate/MosesTranslator.html" rel="nofollow noreferrer">docs</a> for MosesTranslator, it is given that we need to provide two variables, smtPath and scriptsPath, in the constructor. </p>
  
  <blockquote>
    <p>MosesTranslator(String smtPath, String scriptPath)</p>
  </blockquote>
  
  <p>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.</p>