@Override
    public LanguageDetector loadModels(Set<String> languages) throws IOException {
        throw new UnsupportedOperationException(
                "This lang detector doesn't allow subsetting models");
    }
NOT SUPPORTED. Throws {@link UnsupportedOperationException}

@param languages list of target languages.
@return
@throws IOException
tika-langdetect/tika-langdetect-opennlp/src/main/java/org/apache/tika/langdetect/opennlp/OpenNLPDetector.java