MCPcopy Create free account
hub / github.com/GateNLP/gate-core / getOverlappingAnnotations

Method getOverlappingAnnotations

src/main/java/gate/Utils.java:553–557  ·  view source on GitHub ↗

Get all the annotations from the source annotation set that partly or totally overlap the range of the specified annotation. @param sourceAnnotationSet the annotation set from which to select @param overlappedAnnotation the annotation whose range the selected annotations must overlap @return the An

(
    AnnotationSet sourceAnnotationSet,
    Annotation overlappedAnnotation)

Source from the content-addressed store, hash-verified

551 * the offset range of the coveredAnnotation
552 */
553 public static AnnotationSet getOverlappingAnnotations(
554 AnnotationSet sourceAnnotationSet,
555 Annotation overlappedAnnotation) {
556 return getOverlappingAnnotations(sourceAnnotationSet,overlappedAnnotation,"");
557 }
558
559 /**
560 * Get all the annotations of type targetType

Callers 1

Calls 9

getMethod · 0.65
getOffsetMethod · 0.65
getStartNodeMethod · 0.65
getEndNodeMethod · 0.65
getDocumentMethod · 0.65
firstNodeMethod · 0.65
lastNodeMethod · 0.65
isEmptyMethod · 0.45

Tested by 1