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 Distribution
jyutping-0.3.4.tar.gz
(39.8 kB
view details)
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 415cce7d718df55af4d2ce27e338566403f4d2745622f03639aac9afc45a9036 |
|
MD5 | 91aae48e99a35e1afa5779823a25002d |
|
BLAKE2b-256 | 5788f7c654525aac3422376e8d8df556633c2791724e1c3e7d2f549d913b90d3 |