
public class StanfordENOldVersion extends AbstractNER
| Modifier and Type | Field and Description |
|---|---|
static String |
CFG_KEY_STANFORD_CLASSIFIER |
protected edu.stanford.nlp.ie.crf.CRFClassifier<edu.stanford.nlp.ling.CoreLabel> |
classifier |
entityClasses, entityList, inputcdl, cfgManager, LOG, versions| Constructor and Description |
|---|
StanfordENOldVersion() |
| Modifier and Type | Method and Description |
|---|---|
static void |
en(String[] a) |
protected List<edu.stanford.nlp.util.Pair<edu.stanford.nlp.ling.CoreLabel,Double>> |
getProbsDocumentToList(List<edu.stanford.nlp.ling.CoreLabel> document) |
static void |
main(String[] a) |
List<Entity> |
retrieve(String input)
Retrieves Entity objects from the give input String with sentences as plain text.
|
static String |
stanford(String stanfordTag) |
_retrieve, clean, getEntity, getResults, getSentences, mapTypeToSupportedType, run, setInputgetToolName, getToolVersion, getToolVersion, setCountDownLatchclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetToolName, getToolVersion, setCountDownLatchpublic static final String CFG_KEY_STANFORD_CLASSIFIER
protected edu.stanford.nlp.ie.crf.CRFClassifier<edu.stanford.nlp.ling.CoreLabel> classifier
protected List<edu.stanford.nlp.util.Pair<edu.stanford.nlp.ling.CoreLabel,Double>> getProbsDocumentToList(List<edu.stanford.nlp.ling.CoreLabel> document)
public List<Entity> retrieve(String input)
INERretrieve in interface INERretrieve in class AbstractNERinput - sentences as plain textpublic static void main(String[] a)
public static void en(String[] a)
Copyright © 2024. All rights reserved.