@Override
    public List<LanguageResult> detectAll() {
        LanguageIdentifier langIder = new LanguageIdentifier(sb.toString());
        String lang = langIder.getLanguage();
        if (langIder.isReasonablyCertain()) {
            return Collections.singletonList(
                    new LanguageResult(lang, LanguageConfidence.MEDIUM, langIder.getRawScore()));
        }
        return Collections.EMPTY_LIST;
    }
not supported

@param languageProbabilities Map from language to probability
@return
@throws IOException
tika-langdetect/tika-langdetect-tika/src/main/java/org/apache/tika/langdetect/tika/TikaLanguageDetector.java