segmentation

Search:
Group by:

This library implements Unicode Text Segmentation (tr29)

Iterators

iterator wordsBounds(s: string): Slice[int] {...}{.inline, raises: [], tags: [].}
Return each word boundary in s. Boundaries are inclusive
iterator words(s: string): string {...}{.inline, raises: [], tags: [].}
Return each word in s