edu.uchsc.ccp.iaa
Class IAA
java.lang.Object
edu.uchsc.ccp.iaa.IAA
public class IAA
- extends Object
Method Summary |
void |
allwayIAA(Class matcherClass)
|
void |
allwayIAA(Matcher matcher)
|
Map<String,Set<Annotation>> |
getAllwayMatches()
|
Map<Annotation,Set<Annotation>> |
getAllwayMatchSets()
|
Map<String,Set<Annotation>> |
getAllwayNonmatches()
|
Set<String> |
getAnnotationClasses()
|
Map<String,Set<Annotation>> |
getAnnotationSets()
|
Set<Annotation> |
getAnnotationsOfClass(String className,
String compareSetName)
|
Set<Annotation> |
getAnnotationsOfSameType(Annotation annotation,
String compareSetName)
|
Set<Annotation> |
getExactlyOverlappingAnnotations(Annotation annotation,
String compareSetName)
|
Object |
getMatcherInfo(String infoLabel)
|
Map<String,Set<Annotation>> |
getNontrivialAllwayMatches()
|
Map<String,Set<Annotation>> |
getNontrivialAllwayNonmatches()
|
Map<String,Map<String,Set<Annotation>>> |
getNontrivialPairwiseMatches()
|
Map<String,Map<String,Set<Annotation>>> |
getNontrivialPairwiseNonmatches()
|
Set<Annotation> |
getOverlappingAnnotations(Annotation annotation,
String compareSetName)
|
Map<String,Map<String,Set<Annotation>>> |
getPairwiseMatches()
|
Map<Annotation,Set<Annotation>> |
getPairwiseMatchPairs()
|
Map<String,Map<String,Set<Annotation>>> |
getPairwiseNonmatches()
|
Set<String> |
getSetNames()
|
Map<String,Set<Annotation>> |
getTrivialAllwayMatches()
|
Map<String,Set<Annotation>> |
getTrivialAllwayNonmatches()
|
Map<String,Map<String,Set<Annotation>>> |
getTrivialPairwiseMatches()
|
Map<String,Map<String,Set<Annotation>>> |
getTrivialPairwiseNonmatches()
|
Set<Annotation> |
match(Annotation annotation,
Set<Annotation> excludeAnnotations,
Matcher matcher,
MatchResult matchResult)
|
void |
pairwiseIAA(Class matchClass)
This method performs pairwise IAA for each combination of annotators. |
void |
pairwiseIAA(Matcher matcher)
|
void |
reset()
|
void |
setAnnotations(Set<Annotation> annotations)
|
void |
setMatcherInfo(String infoLabel,
Object infoObject)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IAA
public IAA(Set<String> setNames)
IAA
public IAA(Set<String> setNames,
Set<Annotation> annotations)
reset
public void reset()
setAnnotations
public void setAnnotations(Set<Annotation> annotations)
allwayIAA
public void allwayIAA(Class matcherClass)
throws NoSuchMethodException,
InstantiationException,
IllegalAccessException,
InvocationTargetException,
IAAException
- Throws:
NoSuchMethodException
InstantiationException
IllegalAccessException
InvocationTargetException
IAAException
allwayIAA
public void allwayIAA(Matcher matcher)
throws IAAException
- Throws:
IAAException
pairwiseIAA
public void pairwiseIAA(Class matchClass)
throws NoSuchMethodException,
InstantiationException,
IllegalAccessException,
InvocationTargetException,
IAAException
- This method performs pairwise IAA for each combination of annotators.
- Throws:
NoSuchMethodException
InstantiationException
IllegalAccessException
InvocationTargetException
IAAException
pairwiseIAA
public void pairwiseIAA(Matcher matcher)
throws IAAException
- Throws:
IAAException
match
public Set<Annotation> match(Annotation annotation,
Set<Annotation> excludeAnnotations,
Matcher matcher,
MatchResult matchResult)
getAnnotationsOfSameType
public Set<Annotation> getAnnotationsOfSameType(Annotation annotation,
String compareSetName)
getAnnotationsOfClass
public Set<Annotation> getAnnotationsOfClass(String className,
String compareSetName)
getOverlappingAnnotations
public Set<Annotation> getOverlappingAnnotations(Annotation annotation,
String compareSetName)
getExactlyOverlappingAnnotations
public Set<Annotation> getExactlyOverlappingAnnotations(Annotation annotation,
String compareSetName)
getAllwayMatches
public Map<String,Set<Annotation>> getAllwayMatches()
getAllwayNonmatches
public Map<String,Set<Annotation>> getAllwayNonmatches()
getPairwiseMatches
public Map<String,Map<String,Set<Annotation>>> getPairwiseMatches()
getPairwiseNonmatches
public Map<String,Map<String,Set<Annotation>>> getPairwiseNonmatches()
getAnnotationSets
public Map<String,Set<Annotation>> getAnnotationSets()
getSetNames
public Set<String> getSetNames()
getAnnotationClasses
public Set<String> getAnnotationClasses()
setMatcherInfo
public void setMatcherInfo(String infoLabel,
Object infoObject)
getMatcherInfo
public Object getMatcherInfo(String infoLabel)
getTrivialAllwayMatches
public Map<String,Set<Annotation>> getTrivialAllwayMatches()
getTrivialAllwayNonmatches
public Map<String,Set<Annotation>> getTrivialAllwayNonmatches()
getTrivialPairwiseMatches
public Map<String,Map<String,Set<Annotation>>> getTrivialPairwiseMatches()
getTrivialPairwiseNonmatches
public Map<String,Map<String,Set<Annotation>>> getTrivialPairwiseNonmatches()
getNontrivialAllwayMatches
public Map<String,Set<Annotation>> getNontrivialAllwayMatches()
getNontrivialAllwayNonmatches
public Map<String,Set<Annotation>> getNontrivialAllwayNonmatches()
getNontrivialPairwiseMatches
public Map<String,Map<String,Set<Annotation>>> getNontrivialPairwiseMatches()
getNontrivialPairwiseNonmatches
public Map<String,Map<String,Set<Annotation>>> getNontrivialPairwiseNonmatches()
getAllwayMatchSets
public Map<Annotation,Set<Annotation>> getAllwayMatchSets()
getPairwiseMatchPairs
public Map<Annotation,Set<Annotation>> getPairwiseMatchPairs()