Interface Segmenter

Hierarchy

  • Segmenter

Methods

  • Returns Segments object containing the segments of the input string, using the segmenter's locale and granularity.

    Parameters

    • input: string

      The text to be segmented as a string.

    Returns Segments

    A new iterable Segments object containing the segments of the input string, using the segmenter's locale and granularity.