Skip to main content

粵語拼音自動標註工具 | Cantonese Pronunciation Automatic Labeling Tool

Project description

ToJyutping

Install:

$ pip install ToJyutping

Usage:

>>> from ToJyutping import ToJyutping
>>> tj = ToJyutping()
>>> tj.run('叙利亚和伊拉克边境重要口岸重新开放')
'叙(zeoi6)利(lei6)亚(aa3)和(wo4)伊(ji1)拉(laai1)克(hak1)边(bin1)境(ging2)重(zung6)要(jiu3)口(hau2)岸(ngon6)重(cung4)新(san1)开(hoi1)放(fong3)'
>>> tj.run('敘利亞和伊拉克邊境重要口岸重新開放')
'敘(zeoi6)利(lei6)亞(aa3)和(wo4)伊(ji1)拉(laai1)克(hak1)邊(bin1)境(ging2)重(zung6)要(jiu3)口(hau2)岸(ngon6)重(cung4)新(san1)開(hoi1)放(fong3)'

License

Source code is distributed under MIT license.

Dictionary data follows the original license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ToJyutping, version 0.0.7
Filename, size File type Python version Upload date Hashes
Filename, size ToJyutping-0.0.7-py3-none-any.whl (1.3 MB) File type Wheel Python version py3 Upload date Hashes View
Filename, size ToJyutping-0.0.7.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page