public class HeadFinderDependencyViewGenerator extends Annotator
config, isInitialized, requiredViews, viewName
Constructor and Description |
---|
HeadFinderDependencyViewGenerator(String parseViewName) |
Modifier and Type | Method and Description |
---|---|
void |
addView(TextAnnotation ta)
create and add the view named by getViewName() to the TextAnnotation argument.
|
static TreeView |
getDependencyTree(TextAnnotation input,
String parseViewName,
String dependencyViewName) |
String |
getViewName()
return the name of the View created by this Annotator
|
void |
initialize(ResourceManager rm)
noop.
|
doInitialize, getRequiredViews, getTagValues, getView, isInitialized, isSentenceLevel
public HeadFinderDependencyViewGenerator(String parseViewName)
public static TreeView getDependencyTree(TextAnnotation input, String parseViewName, String dependencyViewName)
public void initialize(ResourceManager rm)
initialize
in class Annotator
rm
- configuration parameterspublic void addView(TextAnnotation ta)
Annotator
public String getViewName()
Annotator
getViewName
in class Annotator
Copyright © 2017. All rights reserved.