public interface PositionLengthAttribute extends Attribute
The default value is one.
Modifier and Type | Method and Description |
---|---|
int |
getPositionLength()
Returns the position length of this Token.
|
void |
setPositionLength(int positionLength) |
void setPositionLength(int positionLength)
positionLength
- how many positions this token
spans.int getPositionLength()
setPositionLength(int)