Package opennlp.tools.formats.ad

## Class ADSentenceStream.Sentence

- java.lang.Object
- - opennlp.tools.formats.ad.ADSentenceStream.Sentence

- Enclosing class:
    ADSentenceStream

      public static class ADSentenceStream.Sentence
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static String` | `META_LABEL_FINAL` |

  - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getMetadata()` |
    `ADSentenceStream.SentenceParser.Node` | `getRoot()` |
    `String` | `getText()` |
    `void` | `setMetadata​(String metadata)` |
    `void` | `setRoot​(ADSentenceStream.SentenceParser.Node root)` |
    `void` | `setText​(String text)` |

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

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

- - ### Field Detail

    - #### META_LABEL_FINAL

          public static final String META_LABEL_FINAL

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### Sentence

          public Sentence()

  - ### Method Detail

    - #### getText

          public String getText()

    - #### setText

          public void setText​(String text)

    - #### getRoot

          public ADSentenceStream.SentenceParser.Node getRoot()

    - #### setRoot

          public void setRoot​(ADSentenceStream.SentenceParser.Node root)

    - #### setMetadata

          public void setMetadata​(String metadata)

    - #### getMetadata

          public String getMetadata()