public class VerbSenseAnnotator extends Annotator
config, isInitialized, requiredViews, viewName
Constructor and Description |
---|
VerbSenseAnnotator() |
VerbSenseAnnotator(boolean lazilyInitialize) |
VerbSenseAnnotator(boolean lazilyInitialize,
ResourceManager rm) |
Modifier and Type | Method and Description |
---|---|
protected void |
addView(TextAnnotation textAnnotation)
create and add the view named by getViewName() to the TextAnnotation argument.
|
void |
initialize(ResourceManager resourceManager)
Derived classes use this to load memory- or time-consuming resources.
|
doInitialize, getRequiredViews, getTagValues, getView, getViewName, isInitialized, isSentenceLevel
public VerbSenseAnnotator()
public VerbSenseAnnotator(boolean lazilyInitialize)
public VerbSenseAnnotator(boolean lazilyInitialize, ResourceManager rm)
public void initialize(ResourceManager resourceManager)
Annotator
initialize
in class Annotator
resourceManager
- configuration parametersprotected void addView(TextAnnotation textAnnotation) throws AnnotatorException
Annotator
addView
in class Annotator
textAnnotation
- the TextAnnotation to modify.AnnotatorException
Copyright © 2017. All rights reserved.