public boolean isUnknown() {
        return confidence == LanguageConfidence.NONE;
    }
The ISO 639-1 language code (plus optional country code)

@return a string representation of the language code
tika-core/src/main/java/org/apache/tika/language/detect/LanguageResult.java