public class StanfordOpenIEHandler extends Annotator
| Modifier and Type | Field and Description |
|---|---|
static String |
viewName |
config, isInitialized, requiredViews| Constructor and Description |
|---|
StanfordOpenIEHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addView(TextAnnotation ta)
create and add the view named by getViewName() to the TextAnnotation argument.
|
void |
initialize(ResourceManager rm)
Derived classes use this to load memory- or time-consuming resources.
|
doInitialize, getRequiredViews, getTagValues, getView, getViewName, isInitialized, isSentenceLevelpublic static final String viewName
public void initialize(ResourceManager rm)
Annotatorinitialize in class Annotatorrm - configuration parametersprotected void addView(TextAnnotation ta) throws AnnotatorException
AnnotatoraddView in class Annotatorta - the TextAnnotation to modify.AnnotatorExceptionCopyright © 2017. All rights reserved.