jieba_flutter 0.2.0 copy "jieba_flutter: ^0.2.0" to clipboard
jieba_flutter: ^0.2.0 copied to clipboard

A Flutter implementation of Chinese word segmentation Python library, jieba.

Features #

A Flutter implementation of Chinese word segmentation Python library, jieba.

This library is essentially a line-by-line translation of the Java implementation of jieba, jieba-analysis.

Usage #

await JiebaSegmenter.init();
final seg = JiebaSegmenter();
print(seg.process("结过婚和尚未结过婚的", SegMode.SEARCH))

/// Output: [[结过, 0, 2], [婚, 2, 3], [和, 3, 4], [尚未, 4, 6], [结过, 6, 8], [婚, 8, 9], [的, 9, 10]]
9
likes
130
points
172
downloads

Publisher

verified publisherw568w.eu.org

Weekly Downloads

A Flutter implementation of Chinese word segmentation Python library, jieba.

Repository (GitHub)

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter

More

Packages that depend on jieba_flutter