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 hashes)