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

    All Methods Instance Methods Concrete Methods
    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 Detail

    - #### BratDocumentParser

          public BratDocumentParser​(SentenceDetector sentenceDetector,
                                    Tokenizer tokenizer)

    - #### BratDocumentParser

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

  - ### Method Detail

    - #### parse

          public List<NameSample> parse​(BratDocument sample)