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

Method getCovering

src/main/java/gate/AnnotationSet.java:209–209  ·  view source on GitHub ↗

Select annotations of the given type that completely span the range. Formally, for any annotation a, a will be included in the return set if: a.getStartNode().getOffset() <= startOffset and a.getEndNode().getOffset() >= endOffset @param neededType Type of

(String neededType, Long startOffset, Long endOffset)

Source from the content-addressed store, hash-verified

207 * immutable.
208 */
209 public AnnotationSet getCovering(String neededType, Long startOffset, Long endOffset);
210
211 /**
212 * Select annotations by offset. This returns the set of annotations

Callers 2

testGetCoveringMethod · 0.65

Implementers 1

AnnotationSetImplsrc/main/java/gate/annotation/Annotati

Calls

no outgoing calls

Tested by 1

testGetCoveringMethod · 0.52