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, input
cdl, 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, setInput
getToolName, getToolVersion, getToolVersion, setCountDownLatch
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getToolName, getToolVersion, setCountDownLatch
public 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)
INER
retrieve
in interface INER
retrieve
in class AbstractNER
input
- sentences as plain textpublic static void main(String[] a)
public static void en(String[] a)
Copyright © 2024. All rights reserved.