========
Python中文分词库, 支持自定义词典和多种分词算法.
GitHub: https://github.com/zhengchun/cwsharp-python
特点
========
- 支持多种分词算法:
- MMSegTokenizer - 基于字典的分词算法,默认的分词算法.
- BigramTokenizer - 二元分词,支持英文、数字.
- 自定义字典, 支持中英文混合.
- 兼容Python 2x, 3x.
- MIT协议
安装说明
========
- 自动安装: ``easy_install cwsharp`` 或者 ``pipe install cwsharp``, ``pip3 install cwsharp``
Changelog
========
- [2017-11-10]
- MMSegTokenizer的分词性能提高20X。
- 修正chunk.degree()函数中word.freq为0的异常。
Metadata
Release files for cwsharp 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cwsharp-0.2.tar.gz | 400.8 kB | Without provenance | Details for cwsharp-0.2.tar.gz |
Release files / cwsharp-0.2.tar.gz
| Download URL | cwsharp-0.2.tar.gz |
|---|---|
| Size | 400.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a6baa39f50f376ce835abe56473ad7014f94a9441b8755e3b88bc94c9d6c2ea0
|
|
BLAKE2b-256 checksum How to use checksums |
51145a7303c407cdbbf536548ed7cf356282d63cc24f396022a758415e7e03ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for cwsharp 0.2
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.