SpanAnnotation (Apache OpenNLP :: Core :: Formats 3.0.0-M4 API)
Description: declaration: package: opennlp.tools.formats.brat, class: SpanAnnotation

Package opennlp.tools.formats.brat

# Class SpanAnnotation

java.lang.Object
opennlp.tools.formats.brat.BratAnnotation
opennlp.tools.formats.brat.SpanAnnotation

public class SpanAnnotation extends BratAnnotation

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getCoveredText()`
  `opennlp.tools.util.Span[]`
  `getSpans()`
  `String`
  `toString()`

  ### Methods inherited from class opennlp.tools.formats.brat.BratAnnotation

  `getId, getNote, getType, setNote`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Method Details

  - ### getSpans

    public opennlp.tools.util.Span[] getSpans()

  - ### getCoveredText

    public String getCoveredText()

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `BratAnnotation`