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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for jyutping-0.3.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06f886d6d450ee1939a940fef535155307a8b4ae9fc7bedb870f3b48628fec56 |
|
MD5 | a626beff34846245f83d81f6cf458e1a |
|
BLAKE2b-256 | 20f6ef90f43e7eefe9945d9f4c9e64fc87f871156f21851d1dd6b2b3f29864bf |