CINOSUM
CINOSUM 是一个针对中国多民族语言文本摘要的开源 Python 库。它旨在为研究人员和开发人员提供一个简单、高效、易于使用的工具,用以处理多元化的中国语言资源,并生成准确的摘要。CINOSUM 支持包括汉语、藏语、维吾尔语等在内的多种民族语言。
特点
- 支持多种中国民族语言。
- 利用先进的自然语言处理技术生成摘要。
- 灵活的接口,易于集成到现有的 Python 项目中。
- 高效的处理速度,能够快速处理大量文本。
安装
你可以使用 pip 命令轻松安装 CINOSUM:
pip install CINOSUM
快速上手
下面是如何使用 CINOSUM 生成一个简单的文本摘要的例子:
from CINOSUM.models.CINOSUM import CINOSUM
text = ["这里是需要生成摘要的文本内容列表。"]
model = CINOSUM()
Extractive = model.Extractive(text,batch_size=2,len_pred=2) #生成两句话作为摘要
支持的语言
目前,CINOSUM 支持以下民族语言的摘要生成:
-
汉语(zh)
-
藏语(bo)
-
维吾尔语(ug)
-
...更多语言支持即将到来!
贡献
我们欢迎任何形式的贡献,无论是新语言的支持、bug 修复、功能增强或是文档改进。
请遵循以下步骤:
- Fork 项目到你的 GitHub 账户下。
- 创建你自己的分支(git checkout -b feature-fooBar)。
- 提交你的改变(git commit -am 'Add some fooBar')。
- 推送到分支(git push origin feature-fooBar)。
- 创建一个新的 Pull Request。
许可证
本项目采用 MIT 许可证 - 详见 LICENSE 文件。
支持
如果在使用 CINOSUM 时遇到任何问题,或者有任何建议,欢迎通过 GitHub 的 issues 来提交。
Metadata
Release files for CINOSUM 1.1.0
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 |
|---|---|---|---|---|
| CINOSUM-1.1.0.tar.gz | 16.3 kB | Without provenance | Details for CINOSUM-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| CINOSUM-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for CINOSUM-1.1.0-py3-none-any.whl |
Total release size: 34.8 kB
Release files / CINOSUM-1.1.0.tar.gz
| Download URL | CINOSUM-1.1.0.tar.gz |
|---|---|
| Size | 16.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f20bfe0565e4cfd2c8e99513297c47e27be8f252acde55f29d0932ea8c2c238
|
|
BLAKE2b-256 checksum How to use checksums |
b9e220bd19cc5f3a767a31425dd93a265717dbe795828bcb3e03f94408faa9ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.8.18
|
Release files / CINOSUM-1.1.0-py3-none-any.whl
| Download URL | CINOSUM-1.1.0-py3-none-any.whl |
|---|---|
| Size | 18.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dede2241256f24e308149cecac0039a27afed5909090451d5668c48fbb1455a4
|
|
BLAKE2b-256 checksum How to use checksums |
d5c905aca049a2fa5491ed94386282ed5cb3a8e6aa85698d726999482deae117
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.8.18
|
Security for CINOSUM 1.1.0
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.