Package opennlp.tools.formats.irishsentencebank

## Class IrishSentenceBankDocument

- java.lang.Object
- - opennlp.tools.formats.irishsentencebank.IrishSentenceBankDocument

-     public class IrishSentenceBankDocument
      extends Object

  A structure to hold an Irish Sentence Bank document, which is a collection of tokenized sentences.

  The sentence bank can be downloaded from, and is described here

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `IrishSentenceBankDocument.IrishSentenceBankFlex` |
    `static class` | `IrishSentenceBankDocument.IrishSentenceBankSentence` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `IrishSentenceBankDocument()` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `add​(IrishSentenceBankDocument.IrishSentenceBankSentence sent)` |
    `List<IrishSentenceBankDocument.IrishSentenceBankSentence>` | `getSentences()` |
    `static IrishSentenceBankDocument` | `parse​(InputStream is)` |

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### IrishSentenceBankDocument

          public IrishSentenceBankDocument()

  - ### Method Detail

    - #### add

          public void add​(IrishSentenceBankDocument.IrishSentenceBankSentence sent)

    - #### getSentences

          public List<IrishSentenceBankDocument.IrishSentenceBankSentence> getSentences()

    - #### parse

          public static IrishSentenceBankDocument parse​(InputStream is)
                                                 throws IOException

      Throws:
        `IOException`