Skip to content

v4.1.0

Choose a tag to compare

@jacksonllee jacksonllee released this 15 Mar 02:53
· 4 commits to main since this release

Added

  • segment() for word segmentation now takes a boolean keyword argument offsets
    to optionally give the (start, end) indices of the segmented words.

Changed

  • Bumped rustling to >= 0.7.0, for retrieving offsets in word segmentation.

Fixed

  • segment() for word segmentation now splits a mixed Cantonese/English unit as separate
    words if it's not already a recognized mixed word.