Skip to main content

Python tool to convert Chinese characters to Jyutping.

Install

$ pip install jyutping

Usage

>>> import jyutping

>>> jyutping.get('广东话')  # Python 3
>>> jyutping.get(u'广东话')  # Python 2
['gwong2', 'dung1', 'waa6']

>>> jyutping.get('广东话', multiple=True)
[{'gwong2'}, {'dung1'}, {'waa6', 'waa2'}]

Download files

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

Source Distribution

jyutping-0.3.4.tar.gz (39.8 kB view details)

Uploaded Source

File details

Details for the file jyutping-0.3.4.tar.gz.

File metadata

  • Download URL: jyutping-0.3.4.tar.gz
  • Upload date:
  • Size: 39.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.9

File hashes

Hashes for jyutping-0.3.4.tar.gz
Algorithm Hash digest
SHA256 415cce7d718df55af4d2ce27e338566403f4d2745622f03639aac9afc45a9036
MD5 91aae48e99a35e1afa5779823a25002d
BLAKE2b-256 5788f7c654525aac3422376e8d8df556633c2791724e1c3e7d2f549d913b90d3

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.4 This release

1 file

0.3.3

2 files

0.3.2

1 file

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