liuli is better than jieba.
Project description
liuli
liuli is better than jieba. 流利比结巴好。
使用
pip install liuli
>>> import liuli
>>> liuli.lcut('南京市长江大桥')
['南京市', '长江大桥']
>>> liuli.lcut('南京市长江大桥', cut_all=True)
['南京', '南京市', '京市', '市长', '长江', '长江大桥', '大桥']
>>> liuli.lcut_for_search('南京市长江大桥')
['南京', '南京市', '京市', '长江', '长江大桥', '大桥']
性能测试
liuli 1x < jieba 1.5x < cyliuli 2x
- 详见
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file liuli-0.0.1-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: liuli-0.0.1-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 60.9 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 226b7e0af73c8fef5751747dcd4293410ae91bb1983119395d690699885cc6a0 |
|
MD5 | 14edd8afd77f956619fb62a9284a6b8b |
|
BLAKE2b-256 | 6d3d753ec99ecc259fec8886ddc7476e70cc796125783b1fcf42046cfc29e27f |