private String buildCommand(String smtPath, String scriptPath) {
        return "java -jar " + smtPath + " -c NONE " + scriptPath + " " +
                System.getProperty("user.dir") + "/" + TMP_FILE_NAME;
    }
Build the command String to be executed.

@param smtPath    Full path to the jar to run.
@param scriptPath Full path to the script to pass to the smt jar.
@return String to run on the command line.
tika-translate/src/main/java/org/apache/tika/language/translate/impl/MosesTranslator.java