Skip to main content

cantoseg

Cantonese segmentation tool 粵語分詞工具

Install

$ pip install cantoseg

Usage

>>> import cantoseg
>>> cantoseg.cut('香港喺舊石器時代就有人住')
['香港', '喺', '舊石器時代', '就', '有人', '住']

A generator version is also available: cantoseg.lcut.

Design

See article Cantonese Segmentation and Part-Of-Speech Tagging (in Chinese).

Metadata

Release files for cantoseg 0.0.1

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

Source distribution (sdist)

Source distribution for cantoseg 0.0.1
File Size Uploaded Provenance Actions
cantoseg-0.0.1.tar.gz 3.3 kB Without provenance Details for cantoseg-0.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 3.1 MB

Release files / cantoseg-0.0.1.tar.gz

Download URL cantoseg-0.0.1.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
82269ecf698dd0010f2b3d759d8e8d0ed1192c9248498830a4ccfc133695a671
BLAKE2b-256 checksum
How to use checksums
f851ab8e527a594c7058464464a8560fff37fbf41fd69010d61474ec0f3c2155
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Release files / cantoseg-0.0.1-py3-none-any.whl

Download URL cantoseg-0.0.1-py3-none-any.whl
Size 3.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
b5229263ca114ba087b980baa9e7edda1e3f5ffb426dd2dbec910e5f008a2539
BLAKE2b-256 checksum
How to use checksums
dd10dc1dca275bfa12e6c7002cb89b6074d2cb1190345b4e6aab5e7bc14e0a13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Security for cantoseg 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.

Release history Release notifications | RSS feed

This release

0.0.1 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