@Override
    public Set<String> getEntityTypes() {
        return nameTypes;
    }
Creates OpenNLP name finder

@param nameType     the entity type recognised by the given NER model
@param nerModelPath path to ner model
tika-parsers/tika-parsers-ml/tika-parser-nlp-module/src/main/java/org/apache/tika/parser/ner/opennlp/OpenNLPNameFinder.java