Package opennlp.tools.formats.masc

## Class MascWord

- java.lang.Object
- - opennlp.tools.util.Span
  - - opennlp.tools.formats.masc.MascWord

- All Implemented Interfaces:
    `Serializable`, `Comparable<Span>`

      public class MascWord
      extends Span

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `MascWord​(int s, int e, int id)` | Saves one of MASC's quarks - basic-level units (may be sub-word)

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `getId()` |

    - ### Methods inherited from class opennlp.tools.util.Span

      `compareTo, contains, contains, crosses, equals, getCoveredText, getEnd, getProb, getStart, getType, hashCode, intersects, length, spansToStrings, spansToStrings, startsWith, toString, trim`

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

      `getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### MascWord

          public MascWord​(int s,
                          int e,
                          int id)

      Saves one of MASC's quarks - basic-level units (may be sub-word)
      Parameters:
        `s` - The beginning of the word in the corpus file
        `e` - The end of the word in the corpus file
        `id` - The id as assigned by the stand-off annotation

  - ### Method Detail

    - #### getId

          public int getId()