## Uses of Class
opennlp.tools.formats.brat.BratAnnotation

- Packages that use BratAnnotation
  Package | Description
  --- | ---
  opennlp.tools.formats.brat |

- - ### Uses of BratAnnotation in opennlp.tools.formats.brat

    Subclasses of BratAnnotation in opennlp.tools.formats.brat
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AnnotatorNoteAnnotation`
    `class` | `AttributeAnnotation`
    `class` | `EventAnnotation`
    `class` | `RelationAnnotation`
    `class` | `SpanAnnotation`

    Methods in opennlp.tools.formats.brat that return BratAnnotation
    Modifier and Type | Method and Description
    --- | ---
    `BratAnnotation` | BratDocument.`getAnnotation(String id)`
    `BratAnnotation` | BratAnnotationStream.`read()`

    Methods in opennlp.tools.formats.brat that return types with arguments of type BratAnnotation
    Modifier and Type | Method and Description
    --- | ---
    `Collection<BratAnnotation>` | BratDocument.`getAnnotations()`

    Constructor parameters in opennlp.tools.formats.brat with type arguments of type BratAnnotation
    Constructor and Description
    `BratDocument(AnnotationConfiguration config, String id, String text, Collection<BratAnnotation> annotations)`

Copyright © 2026 The Apache Software Foundation. All rights reserved.