Skip to main content

Read the latest Real Python tutorials

Project description

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'}]

Project details


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.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page