Class Range
java.lang.Object
org.tribuo.util.tokens.universal.Range
- All Implemented Interfaces:
CharSequence
A range currently being segmented.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionchar
charAt
(int index) int
length()
void
punct
(char p, int start) void
set
(char[] buff, int len, int start) void
set
(char c1, char c2, int start) void
set
(char c, int start) void
setType
(Token.TokenType type) subSequence
(int start, int end) toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.CharSequence
chars, codePoints, isEmpty
-
Field Details
-
buff
-
len
-
start
-
end
-
incr
-
type
-
-
Method Details
-
set
-
set
-
set
-
punct
-
setType
-
length
- Specified by:
length
in interfaceCharSequence
-
charAt
- Specified by:
charAt
in interfaceCharSequence
-
subSequence
- Specified by:
subSequence
in interfaceCharSequence
-
toString
-