public class AddFeaturesAction extends Action
| Constructor and Description |
|---|
AddFeaturesAction(FeatureSet fs,
Variable sv) |
AddFeaturesAction(StreamTokenizer tok)
creates an AddFeaturesAction from the input processed by StreamTokenizer
tok, which should have the form
addfeatures [type feature=value feature=value ...] to annotationVariable |
| Modifier and Type | Method and Description |
|---|---|
int |
perform(Document doc,
PatternApplication patap)
performs the action, adding the specified Annotation.
|
String |
toString() |
public AddFeaturesAction(FeatureSet fs, Variable sv)
public AddFeaturesAction(StreamTokenizer tok) throws IOException, PatternSyntaxError
IOExceptionPatternSyntaxErrorCopyright © 2016 New York University. All rights reserved.