edu.uchsc.ccp.iaa.matcher
Class OverlappingSpanMatcher
java.lang.Object
edu.uchsc.ccp.iaa.matcher.OverlappingSpanMatcher
- All Implemented Interfaces:
- Matcher
public class OverlappingSpanMatcher
- extends Object
- implements Matcher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OverlappingSpanMatcher
public OverlappingSpanMatcher()
match
public Annotation match(Annotation annotation,
String compareSetName,
Set<Annotation> excludeAnnotations,
IAA iaa,
MatchResult matchResult)
- Specified by:
match
in interface Matcher
- 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
public String getName()
- Specified by:
getName
in interface Matcher
getDescription
public String getDescription()
- Specified by:
getDescription
in interface Matcher
returnsTrivials
public boolean returnsTrivials()
- Specified by:
returnsTrivials
in interface Matcher