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

- Packages that use BratDocument
  Package | Description
  --- | ---
  opennlp.tools.formats.brat | Experimental package related to the corpus format used by the "brat rapid annotation tool" (brat).

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

    Methods in opennlp.tools.formats.brat that return BratDocument
    Modifier and Type | Method | Description
    --- | --- | ---
    `static BratDocument` | BratDocument.`parseDocument​(AnnotationConfiguration config, String id, InputStream txtIn, InputStream annIn)` |
    `BratDocument` | BratDocumentStream.`read()` |

    Methods in opennlp.tools.formats.brat with parameters of type BratDocument
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<NameSample>` | BratDocumentParser.`parse​(BratDocument sample)` |
    `protected List<NameSample>` | BratNameSampleStream.`read​(BratDocument sample)` |

    Constructor parameters in opennlp.tools.formats.brat with type arguments of type BratDocument
    Constructor | Description
    --- | ---
    `BratNameSampleStream​(SentenceDetector sentDetector, Tokenizer tokenizer, ObjectStream<BratDocument> samples)` | Creates a new `BratNameSampleStream`.
    `BratNameSampleStream​(SentenceDetector sentDetector, Tokenizer tokenizer, ObjectStream<BratDocument> samples, Set<String> nameTypes)` | Creates a new `BratNameSampleStream`.
    `BratNameSampleStream​(SentenceModel sentModel, TokenizerModel tokenModel, ObjectStream<BratDocument> samples)` | Creates a new `BratNameSampleStream`.
    `BratNameSampleStream​(SentenceModel sentModel, TokenizerModel tokenModel, ObjectStream<BratDocument> samples, Set<String> nameTypes)` | Creates a new `BratNameSampleStream`.