Skip to content

imdreamrunner/python-jyutping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-jyutping

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

About

Python 汉字到粤拼转换工具。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages