Skip to main content

word_segmentation

Chinese word segmentation algorithm without corpus

Usage

from word_segmentation import get_words
content = '北京比武汉的人口多,但是北京的天气没有武汉的热,武汉有热干面,北京有北京烤鸭'
words = get_words(content, max_word_len=2, min_aggregation=1, min_entropy=0.5)
print(words)

Metadata

Release files for hellonlp 0.2.41

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hellonlp 0.2.41
File Size Uploaded Provenance Actions
hellonlp-0.2.41.tar.gz 1.5 MB Without provenance Details for hellonlp-0.2.41.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hellonlp 0.2.41
File Interpreter ABI Platform Actions
hellonlp-0.2.41-py3-none-any.whl Python 3 none any Details for hellonlp-0.2.41-py3-none-any.whl

Total release size: 3.0 MB

Release files / hellonlp-0.2.41.tar.gz

Download URL hellonlp-0.2.41.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
8e3d4d308c6e88f99e1c65ee88fd49d851e708c5006c0ece96fbd4df078140fe
BLAKE2b-256 checksum
How to use checksums
c1df64624955b0cd328bc9c37034353ceed386ad5e5827f5ee9cb9a9f869621e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.23.0 CPython/3.6.1

Release files / hellonlp-0.2.41-py3-none-any.whl

Download URL hellonlp-0.2.41-py3-none-any.whl
Size 1.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
2eb82dee5c098456105098ebad56bd731ea9d0dc992315f973991446a81b7905
BLAKE2b-256 checksum
How to use checksums
ac3a93dfc2fdffda7899117bd48ad995ff46d4160f99647df0f67a3606c351cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.23.0 CPython/3.6.1

Security for hellonlp 0.2.41

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.

Release history Release notifications | RSS feed

This release

0.2.41 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page