Class MascWord

    • Constructor Detail

      • MascWord

        public MascWord​(int s,
                        int e,
                        int id)
        Holds one of MASC's quarks, that is: basic-level units (may be sub-word).
        Parameters:
        s - The beginning of the word in the corpus file. Must be equal to or greater than 0.
        e - The end of the word in the corpus file. Must be equal to or greater than 0 and be greater than s.
        id - The id as assigned by the stand-off annotation.
        Throws:
        IllegalArgumentException - Thrown if one of the parameters are invalid.
    • Method Detail

      • getId

        public int getId()