public abstract class CsvNamedPatternNerDetector extends NamedRegexDetector
VocabularyDetector that reads a Vocabulary from a
CSV file where the first column is the name and all further columns are
synonymsRegexNamedEntityFactory.NamedPatternlog| Modifier | Constructor and Description |
|---|---|
protected |
CsvNamedPatternNerDetector(NerTag type,
String lang,
boolean caseSensitive) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,List<RegexNamedEntityFactory.NamedPattern>> |
loadPatterns() |
protected abstract Reader |
readFrom() |
acceptMatch, createNamedEntity, getRegexes, getType, initprocessprotected final Map<String,List<RegexNamedEntityFactory.NamedPattern>> loadPatterns() throws IOException
loadPatterns in class NamedRegexDetectorIOExceptionprotected abstract Reader readFrom()
Copyright © 2016–2017 Redlink GmbH. All rights reserved.