@Override
    public boolean isAvailable() {
        return !smtPath.equals(DEFAULT_PATH) && !scriptPath.equals(DEFAULT_PATH);
    }
Create a Moses Translator with the specified smt jar and script paths.

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