Skip to content

snapADDY/jieba-pyfast

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jieba_pyfast

A Chinese text segmentation module with C extensions for speed.

Installation

pip install jieba_pyfast

Usage

import jieba_pyfast as jieba

# Basic segmentation
list(jieba.cut('下雨天留客天留我不留'))
# ['下雨天', '留客', '天留', '我', '不留']

# Load custom dictionary
jieba.load_userdict('userdict.txt')

About

A Chinese text segmentation module, from jieba_fast, with wheels for python3.9 & python3.10

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 91.7%
  • C 8.3%