edu.northwestern.at.morphadorner.corpuslinguistics.sentencesplitter

## Interface SentenceSplitterIterator

- All Known Implementing Classes:
    DefaultSentenceSplitterIterator, ICU4JBreakIteratorSentenceSplitterIterator

      public interface SentenceSplitterIterator

  Abstract sentence iterator.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `hasNext()` Check if there is another sentence available.
    `java.lang.String` | `next()` Return next sentence.
    `java.lang.String` | `peek()` Peek ahead at text of next sentence.
    `void` | `setText(java.lang.String text)` Set the text to split.

- - ### Method Detail

    - #### hasNext

          boolean hasNext()

      Check if there is another sentence available.
      Returns:
        true if another sentence is available.

    - #### next

          java.lang.String next()

      Return next sentence.
      Returns:
        next sentence as a string, or null if none.

    - #### peek

          java.lang.String peek()

      Peek ahead at text of next sentence.
      Returns:
        next sentence as a string, or null if none.

    - #### setText

          void setText(java.lang.String text)

      Set the text to split.
      Parameters:
        `text` - Text with sentences over which to iterate.