Interface BlockItem

    • Method Detail

      • getRawWord

        String getRawWord()
        The untransformed raw text from the user serving as base for this item.
      • getOrigin

        Substring getOrigin()
        Returns the substring which is the origin of this item, or null if none
      • stringValue

        String stringValue()
        Returns the value of this term as a string
      • isFromQuery

        boolean isFromQuery()
        Returns whether this block of text originates from a user and should therefore receive the normal processing applied to raw text (such as stemming).
      • isStemmed

        boolean isStemmed()
      • isWords

        boolean isWords()
        Returns whether this item represents normal text
      • getSegmentingRule

        SegmentingRule getSegmentingRule()
        If the block has to be resegmented, what operator should be chosen if it is necessary to change operator?