Skip to main content

word_segmenter 0.1.0 copy "word_segmenter: ^0.1.0" to clipboard
word_segmenter: ^0.1.0 copied to clipboard

Splits text at word boundaries with the platform's own text services, including dictionary-based segmentation for Chinese and Japanese.

0.1.0 #

  • Initial release. wordBoundaries splits text at word boundaries with the platform's own text services, so Chinese and Japanese are segmented with dictionaries on Android (API 31+), iOS, Linux, macOS, web, and Windows. (#548)
  • Replaces the unpublished string_tokenizer package: tokenize(text, options: [TokenizerUnit.wordBoundary]) becomes wordBoundaries(text), which returns ranges instead of strings.
0
likes
160
points
0
downloads

Documentation

API reference

Publisher

verified publishermixin.dev

Weekly Downloads

Splits text at word boundaries with the platform's own text services, including dictionary-based segmentation for Chinese and Japanese.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

ffi, flutter

More

Packages that depend on word_segmenter