edu.northwestern.at.morphadorner.corpuslinguistics.textsegmenter.struct

## Class RawText

- java.lang.Object
- - edu.northwestern.at.morphadorner.corpuslinguistics.textsegmenter.struct.RawText

-     public class RawText
      extends java.lang.Object

  A text collection for linear segmentation.
  Author:
    Philip R. Burns. Modified for integration in MorphAdorner from a class written by Freddie Choi.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `java.util.List<java.lang.Integer>` | `boundaries` The sentence boundaries.
    `java.util.List<java.lang.String>` | `text` The tokens in the text.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `RawText()` Create an empty text collection.
    `RawText(java.util.List<java.util.List<T>> sentences)` Create a text collection from a list of sentences.

  - ### Method Summary

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

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

- - ### Field Detail

    - #### text

          public java.util.List<java.lang.String> text

      The tokens in the text.

    - #### boundaries

          public java.util.List<java.lang.Integer> boundaries

      The sentence boundaries.

  - ### Constructor Detail

    - #### RawText

          public RawText()

      Create an empty text collection.

    - #### RawText

          public RawText(java.util.List<java.util.List<T>> sentences)

      Create a text collection from a list of sentences.
      Parameters:
        `sentences` - List of list of stringable objects.