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.2.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.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lute3_cantonese-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 5d9525bfa690836e0938abab8ca6712914f354e43c80778b36e52f3b18388a6d
MD5 c5fbb62c11d3491f7a93af990e533e1d
BLAKE2b-256 28995cf6294dd1b38e22a51da45fb30ac4b6984188c08baa783a6ebb580a5554

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lute3_cantonese-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 307334082efc99b1bc7a64d3b76b515b7de61b6fb3ca806279c907727476bbf0
MD5 b64f394777b5561307090baf9cab9be0
BLAKE2b-256 a2bbda1638c39a290eb9bbee13f1eebf48c26625c8e820b5f449c4e37c9f0690

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 files

0.0.1

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