SegmentData$Typings extension
Properties
-
index
↔ num
-
The code unit index in the original input string at which the segment begins.
getter/setter pair
-
input
↔ String
-
The complete input string that was segmented.
getter/setter pair
-
isWordLike
↔ bool?
-
A boolean value only if granularity is "word"; otherwise, undefined.
If granularity is "word", then isWordLike is true when the segment is word-like (i.e., consists of letters/numbers/ideographs/etc.); otherwise, false.
getter/setter pair
-
segment
↔ String
-
A string containing the segment extracted from the original input string.
getter/setter pair