public LanguageIdentifier getLanguage() {
        return new LanguageIdentifier(profile);
    }
Returns the language that best matches the current state of the
language profile.

@return language that best matches the current profile
tika-langdetect/tika-langdetect-tika/src/main/java/org/apache/tika/langdetect/tika/ProfilingWriter.java