public interface Token extends TermOccurrence
| Modifier and Type | Method and Description |
|---|---|
DefaultTerm |
asTerm()
Tokens always are treated as
DefaultTerm objects that contain
the text of the Token. |
java.lang.String |
getText()
Gets the text of the token.
|
getTermgetData, getLength, getStartjava.lang.String getText()
DefaultTerm asTerm()
DefaultTerm objects that contain
the text of the Token.