public abstract class StanfordCommon extends AbstractNER
Modifier and Type | Field and Description |
---|---|
protected edu.stanford.nlp.pipeline.StanfordCoreNLP |
pipeline |
entityClasses, entityList, input
cdl, cfgManager, LOG, versions
Constructor and Description |
---|
StanfordCommon(Properties props) |
Modifier and Type | Method and Description |
---|---|
List<Entity> |
retrieve(String text)
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
public StanfordCommon(Properties props)
public List<Entity> retrieve(String text)
INER
retrieve
in interface INER
retrieve
in class AbstractNER
text
- sentences as plain textCopyright © 2024. All rights reserved.