Skip to content

w568w/jieba_flutter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Features

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

Usage

await JiebaSegmenter.init().then((value) {
      var seg = JiebaSegmenter();
      print(
          seg.process("结过婚和尚未结过婚的", SegMode.SEARCH));
    });

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

Additional information

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages