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(opennlp.tools.sentdetect.SentenceDetector sentenceDetector, opennlp.tools.tokenize.Tokenizer tokenizer)`
  `BratDocumentParser(opennlp.tools.sentdetect.SentenceDetector sentenceDetector, opennlp.tools.tokenize.Tokenizer tokenizer, Set<String> nameTypes)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<opennlp.tools.namefind.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(opennlp.tools.sentdetect.SentenceDetector sentenceDetector, opennlp.tools.tokenize.Tokenizer tokenizer)

  - ### BratDocumentParser

    public BratDocumentParser(opennlp.tools.sentdetect.SentenceDetector sentenceDetector, opennlp.tools.tokenize.Tokenizer tokenizer, Set<String> nameTypes)

- ## Method Details

  - ### parse

    public List<opennlp.tools.namefind.NameSample> parse(BratDocument sample)