Returns Segments object containing the segments of the input string, using the segmenter's locale and granularity.
Segments
The text to be segmented as a string.
string
A new iterable Segments object containing the segments of the input string, using the segmenter's locale and granularity.
Returns
Segments
object containing the segments of the input string, using the segmenter's locale and granularity.