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.

Source Distribution

ToJyutping-0.0.11.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

ToJyutping-0.0.11-py3-none-any.whl (1.4 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page