Interface Segmenter
interface Segmenter {
resolvedOptions(): ResolvedSegmenterOptions;
segment(input: string): Segments;
}
resolvedOptions(): ResolvedSegmenterOptions;
segment(input: string): Segments;
}
Index
Methods
Methods
resolvedOptions
- resolved
Options (): ResolvedSegmenterOptions Returns ResolvedSegmenterOptions
Returns
Segments
object containing the segments of the input string, using the segmenter's locale and granularity.