Class DecompoundToken

java.lang.Object
org.apache.lucene.analysis.ko.Token
org.apache.lucene.analysis.ko.DecompoundToken

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

    • 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.
  • Method Details