public class POSFromParse extends Annotator
config, isInitialized, requiredViews, viewName
Constructor and Description |
---|
POSFromParse(String parseViewName)
Creates a new POSFromParse that uses the specified parse tree to create a POS tag view.
|
Modifier and Type | Method and Description |
---|---|
void |
addView(TextAnnotation ta)
create and add the view named by getViewName() to the TextAnnotation argument.
|
void |
initialize(ResourceManager rm)
noop.
|
doInitialize, getRequiredViews, getTagValues, getView, getViewName, isInitialized, isSentenceLevel
public POSFromParse(String parseViewName)
parseViewName
- The name of the parse view to use in order to get the POS labels.public void initialize(ResourceManager rm)
initialize
in class Annotator
rm
- configuration parameterspublic void addView(TextAnnotation ta)
Annotator
Copyright © 2017. All rights reserved.