public static class SequenceMatchRules.SequenceMatchedExpressionExtractor extends java.lang.Object implements Function<SequenceMatchResult<CoreMap>,MatchedExpression>
Constructor and Description |
---|
SequenceMatchRules.SequenceMatchedExpressionExtractor(MatchedExpression.SingleAnnotationExtractor extractor,
int group) |
Modifier and Type | Method and Description |
---|---|
MatchedExpression |
apply(SequenceMatchResult<CoreMap> matched)
Converts a T1 to a different T2.
|
public SequenceMatchRules.SequenceMatchedExpressionExtractor(MatchedExpression.SingleAnnotationExtractor extractor, int group)
public MatchedExpression apply(SequenceMatchResult<CoreMap> matched)
Function
apply
in interface Function<SequenceMatchResult<CoreMap>,MatchedExpression>
matched
- The function's argument