Skip to main content

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

Project description

ToJyutping

Install:

$ pip install ToJyutping

Usage:

>>> import ToJyutping
>>> ToJyutping.get_jyutping_list('一瓩係乜嘢嚟㗎?')
[('一', 'jat1'), ('瓩', 'cin1 ngaa5'), ('係', 'hai6'), ('乜', 'mat1'), ('嘢', 'je5'), ('嚟', 'lai4'), ('㗎', 'gaa3'), ('?', None)]
>>> ToJyutping.get_jyutping('一瓩係乜嘢嚟㗎?')
'一(jat1)瓩(cin1 ngaa5)係(hai6)乜(mat1)嘢(je5)嚟(lai4)㗎(gaa3)?'
>>> ToJyutping.get_ipa('一瓩係乜嘢嚟㗎?')
'一(jɐt˥)瓩(t͡sʰiːn˥ ŋaː˨˧)係(hɐi˨)乜(mɐt˥)嘢(jɛː˨˧)嚟(lɐi˨˩)㗎(kaː˧)?'

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.1.2.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ToJyutping-0.1.2-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

Details for the file ToJyutping-0.1.2.tar.gz.

File metadata

  • Download URL: ToJyutping-0.1.2.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for ToJyutping-0.1.2.tar.gz
Algorithm Hash digest
SHA256 73c697497633c7fe4319fe02b697298d306710abdec35c114ceba8f223396413
MD5 4476f0733a1c4f61e2d0d58986653c92
BLAKE2b-256 9a1341b4969d704c5a64a529e0abdc72a0c1b68b8c8623803e97ff69bf855b9b

See more details on using hashes here.

File details

Details for the file ToJyutping-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: ToJyutping-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for ToJyutping-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4897dc2c81183cba344e589b2cdc2fd5934596b6c19e73b37fc117c562efa2d0
MD5 c8640e2a23f8bb72da90007f0894e35d
BLAKE2b-256 ea33cbfe243fcef7134becccdf2eca7481f75ef327d7c27e0fd07f68dae10b9a

See more details on using hashes here.

Supported by

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