Uses of Class opennlp.tools.formats.brat.BratDocument (Apache OpenNLP Tools 2.5.9 API)
Description: use: package: opennlp.tools.formats.brat, class: BratDocument

# 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

  Subclasses with type arguments of type BratDocument in opennlp.tools.formats.brat
  Modifier and Type
  Class
  Description
  `class`
  `BratNameSampleStream`
  Generates Name Sample objects for a Brat Document object.
  Classes in opennlp.tools.formats.brat that implement interfaces with type arguments of type BratDocument
  Modifier and Type
  Class
  Description
  `class`
  `BratDocumentStream`
  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
  Modifier
  Constructor
  Description
  ``
  `BratNameSampleStream(SentenceDetector sentDetector, Tokenizer tokenizer, ObjectStream<BratDocument> samples)`
  Initializes a new `BratNameSampleStream` with the specified parameters based on a straem of `documents`.
  ``
  `BratNameSampleStream(SentenceDetector sentDetector, Tokenizer tokenizer, ObjectStream<BratDocument> samples, Set<String> nameTypes)`
  Creates a new `BratNameSampleStream`.
  ``
  `BratNameSampleStream(SentenceModel sentModel, TokenizerModel tokenModel, ObjectStream<BratDocument> samples)`
  Initializes a new `BratNameSampleStream` with the specified (model) parameters.
  ``
  `BratNameSampleStream(SentenceModel sentModel, TokenizerModel tokenModel, ObjectStream<BratDocument> samples, Set<String> nameTypes)`
  Creates a new `BratNameSampleStream`.