Token | Overloaded. Initializes a new instance of the Token class. |
EndOffset | Returns this Token's ending offset, one greater than the position of the last character corresponding to this token in the source text. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetPositionIncrement | Returns the position increment of this Token. |
GetType (inherited from Object) | Gets the Type of the current instance. |
SetPositionIncrement | |
StartOffset | Returns this Token's starting offset, the position of the first character corresponding to this token in the source text. Note that the difference between endOffset() and startOffset() may not be equal to termText.length(), as the term text may have been altered by a stemmer or some other filter. |
TermText | Returns the Token's term text. |
ToString | |
Type | Returns this Token's lexical type. Defaults to "word". |