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 | Actions Reset |
|---|---|---|---|---|
| liuli-0.0.1-cp37-cp37m-win_amd64.whl | CPython 3.7 | CPython 3.7 pymalloc | Windows x86-64 | Details for liuli-0.0.1-cp37-cp37m-win_amd64.whl |
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
|
Security for liuli 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.