public class StanfordRelationsHandler extends Annotator
Modifier and Type | Field and Description |
---|---|
static String |
viewName |
config, isInitialized, requiredViews
Constructor and Description |
---|
StanfordRelationsHandler() |
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, isSentenceLevel
public static final String viewName
public void initialize(ResourceManager rm)
Annotator
initialize
in class Annotator
rm
- configuration parametersprotected void addView(TextAnnotation ta) throws AnnotatorException
Annotator
addView
in class Annotator
ta
- the TextAnnotation to modify.AnnotatorException
Copyright © 2017. All rights reserved.