Modifier and Type | Field and Description |
---|---|
protected String[] |
modelPath |
protected opennlp.tools.namefind.TokenNameFinderModel[] |
tokenNameFinderModels |
entityClasses, entityList, input
cdl, cfgManager, LOG, versions
Constructor and Description |
---|
OpenNLPCommon(String[] modelPath) |
Modifier and Type | Method and Description |
---|---|
List<Entity> |
retrieve(String input)
Retrieves Entity objects from the give input String with sentences as plain text.
|
_retrieve, clean, getEntity, getResults, getSentences, mapTypeToSupportedType, run, setInput
getToolName, getToolVersion, getToolVersion, setCountDownLatch
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getToolName, getToolVersion, setCountDownLatch
protected String[] modelPath
protected opennlp.tools.namefind.TokenNameFinderModel[] tokenNameFinderModels
public OpenNLPCommon(String[] modelPath)
public List<Entity> retrieve(String input)
INER
retrieve
in interface INER
retrieve
in class AbstractNER
input
- sentences as plain textCopyright © 2024. All rights reserved.