edu.uchsc.ccp.iaa.matcher
Interface Matcher
- All Known Implementing Classes:
- ClassAndSpanMatcher, ClassMatcher, FeatureMatcher, OverlappingSpanMatcher, SpanMatcher, SpansExactComplexFeatureMatcher, SpansExactSimpleFeatureMatcher, SpansOverlapSimpleFeatureMatcher, SubclassMatcher
public interface Matcher
match
Annotation match(Annotation annotation,
String compareSetName,
Set<Annotation> excludeAnnotations,
IAA iaa,
MatchResult matchResult)
- Parameters:
annotation
- the annotation that is to be matchedcompareSetName
- the set of annotations that we will look for a match inexcludeAnnotations
- a set of annotations that cannot be the return valueiaa
- an instance of IAA from which to get information about
annotationsmatchResult
- instantiate a new MatchType and pass it to the method. The
method must set the result to one of the four result values
given in MatchResult.
- Returns:
- the annotation that was matched. If none exists then return null.
getName
String getName()
getDescription
String getDescription()
returnsTrivials
boolean returnsTrivials()