
public abstract class SpotlightCommon extends AbstractNER
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.configuration.XMLConfiguration |
CFG |
static org.apache.log4j.Logger |
LOG |
protected String |
SPOTLIGHT_CONFIDENCE |
protected String |
SPOTLIGHT_SPARQL |
protected String |
SPOTLIGHT_SUPPORT |
protected String |
SPOTLIGHT_TYPES |
protected String |
SPOTLIGHT_URL |
entityClasses, entityList, inputcdl, cfgManager, versions| Constructor and Description |
|---|
SpotlightCommon(Locale lang) |
| Modifier and Type | Method and Description |
|---|---|
List<Entity> |
retrieve(String input)
Retrieves Entity objects from the give input String with sentences as plain text.
|
protected String |
spotlight(String spotlightTag)
Gets the entity class for a spotlight entity type/class.
|
_retrieve, clean, getEntity, getResults, getSentences, mapTypeToSupportedType, run, setInputgetToolName, getToolVersion, getToolVersion, setCountDownLatchclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetToolName, getToolVersion, setCountDownLatchpublic static org.apache.log4j.Logger LOG
protected final org.apache.commons.configuration.XMLConfiguration CFG
protected String SPOTLIGHT_URL
protected String SPOTLIGHT_CONFIDENCE
protected String SPOTLIGHT_SUPPORT
protected String SPOTLIGHT_TYPES
protected String SPOTLIGHT_SPARQL
public SpotlightCommon(Locale lang)
public List<Entity> retrieve(String input)
INERretrieve in interface INERretrieve in class AbstractNERinput - sentences as plain textCopyright © 2024. All rights reserved.