| Package | Description |
|---|---|
| edu.nyu.jet.pat |
The Pat package encapsulates the basic pattern application
mechanism of Jet, sets of pattern/action rules which can be applied
to a document to add or modify annotations on the document. The external
form of the pattern language is described below; the classes used
to encode these patterns are summarized separately.
|
| Constructor and Description |
|---|
AddFeaturesAction(FeatureSet fs,
Variable sv) |
AnnotationPatternElement(String type,
FeatureSet fs,
Variable v)
creates an AnnotationPatternElement which matches an Annotation with type
type and features fs and, if the match is successful,
binds variable v to the annotation.
|
AssignmentPatternElement(Variable v,
Integer val) |
AssignmentPatternElement(Variable v,
String val) |
GetEndPatternElement(Variable v) |
GetStartPatternElement(Variable v)
creates a GetStartPatternElement binding variable v.
|
NewAnnotationAction(String tp,
FeatureSet fs,
Variable sv) |
SpanBindingPatternElement(PatternElement pe,
Variable v)
creates a SpanBindingPatternElement.
|
Copyright © 2016 New York University. All rights reserved.