Skip to main content

lute3-cantonese

A Cantonese parser for Lute (lute3) using the pycantonese library.

Installation

See the Lute manual.

Usage

When this parser is installed, you can add "Cantonese Chinese" as a language to Lute, which comes with a simple story.

Segmentation

pycantonese segments text using longest-string matching, trained on the HKCanCor corpus and the rime-cantonese word list. Both traditional and simplified characters are handled, though the training data is traditional-oriented, so traditional texts are segmented more accurately.

Readings

Terms are romanized using Jyutping (e.g. 你好 → nei5 hou2), shown in the reading box if show_romanization is enabled.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lute3_cantonese-0.0.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lute3_cantonese-0.0.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file lute3_cantonese-0.0.1.tar.gz.

File metadata

  • Download URL: lute3_cantonese-0.0.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.12

File hashes

Hashes for lute3_cantonese-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c12cafb4b442e2f0e8070d09a61002bf01fced2ca23532eb14ae74bfdac1346d
MD5 7ff54a5cc9e01bdc1af135dbfc1b2a73
BLAKE2b-256 eb46938be8aabc53c95c545dd279bba22a01be841929d03cbaec54fb63fddaab

See more details on using hashes here.

File details

Details for the file lute3_cantonese-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for lute3_cantonese-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a237030462ce4b79f9b72a7c9e7a077e582089d06e8e7a82ca2b184da52b96f4
MD5 36991ff6b8d156232fa2ce8a05cb831f
BLAKE2b-256 c5a0e8e25abe494125d78115d227ff26c2ae7caadc4e59e93f7e259c16978710

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.2

2 files

This release

0.0.1 This release

2 files

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