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- 详见
Metadata
Release files for liuli 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| liuli-0.0.1-cp37-cp37m-win_amd64.whl | CPython 3.7 | CPython 3.7 pymalloc | Windows x86-64 | Details |
Release files / liuli-0.0.1-cp37-cp37m-win_amd64.whl
| Download URL | liuli-0.0.1-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 60.9 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
226b7e0af73c8fef5751747dcd4293410ae91bb1983119395d690699885cc6a0
|
|
BLAKE2b-256 checksum How to use checksums |
6d3d753ec99ecc259fec8886ddc7476e70cc796125783b1fcf42046cfc29e27f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|