Package opennlp.tools.formats.brat

# 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 java.lang.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)