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

Method getCoextensiveAnnotations

src/main/java/gate/Utils.java:1024–1026  ·  view source on GitHub ↗

Get all the annotations from the source annotation set that start and end at exactly the same offsets as the given annotation set. @param source the annotation set from which to select @param coextSet the annotation set from which to take the start and end offsets @return the AnnotationSet containi

(AnnotationSet source, AnnotationSet coextSet)

Source from the content-addressed store, hash-verified

1022 * @return the AnnotationSet containing all annotations exactly coextensive with coextSet
1023 */
1024 public static AnnotationSet getCoextensiveAnnotations(AnnotationSet source, AnnotationSet coextSet) {
1025 return getCoextensiveAnnotationsWorker(source, null, start(coextSet), end(coextSet));
1026 }
1027 /**
1028 * Get all the annotations from the source annotation set that start and end
1029 * at exactly the same offsets as the given annotation set and are of the

Callers 1

Calls 3

startMethod · 0.95
endMethod · 0.95

Tested by 1