BratDocumentParser (Apache OpenNLP Tools 2.5.9 API)
Description: declaration: package: opennlp.tools.formats.brat, class: BratDocumentParser

# Class BratDocumentParser

java.lang.Object
opennlp.tools.formats.brat.BratDocumentParser

public class BratDocumentParser extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `BratDocumentParser(SentenceDetector sentenceDetector, Tokenizer tokenizer)`
  `BratDocumentParser(SentenceDetector sentenceDetector, Tokenizer tokenizer, Set<String> nameTypes)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<NameSample>`
  `parse(BratDocument sample)`

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### BratDocumentParser

    public BratDocumentParser(SentenceDetector sentenceDetector, Tokenizer tokenizer)

  - ### BratDocumentParser

    public BratDocumentParser(SentenceDetector sentenceDetector, Tokenizer tokenizer, Set<String> nameTypes)

- ## Method Details

  - ### parse

    public List<NameSample> parse(BratDocument sample)