Class DecompoundToken


  • public class DecompoundToken
    extends Token
    A token that was generated from a compound.
    • Constructor Detail

      • DecompoundToken

        public DecompoundToken​(POS.Tag posTag,
                               String surfaceForm,
                               int startOffset,
                               int endOffset)
        Creates a new DecompoundToken
        Parameters:
        posTag - The part of speech of the token.
        surfaceForm - The surface form of the token.
        startOffset - The start offset of the token in the analyzed text.
        endOffset - The end offset of the token in the analyzed text.