{"id":16958453,"url":"https://github.com/dohliam/pingyam-js","last_synced_at":"2025-04-11T22:08:09.251Z","repository":{"id":88992096,"uuid":"112230416","full_name":"dohliam/pingyam-js","owner":"dohliam","description":"Cantonese Romanization Converter","archived":false,"fork":false,"pushed_at":"2021-03-15T13:08:15.000Z","size":135,"stargazers_count":16,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T22:08:08.234Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://dohliam.github.io/pingyam","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dohliam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-11-27T18:06:31.000Z","updated_at":"2025-02-26T08:44:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"f37ff6d6-dba7-4592-a4e5-3a4e3789f0a8","html_url":"https://github.com/dohliam/pingyam-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dohliam%2Fpingyam-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dohliam%2Fpingyam-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dohliam%2Fpingyam-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dohliam%2Fpingyam-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dohliam","download_url":"https://codeload.github.com/dohliam/pingyam-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248487713,"owners_count":21112191,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T22:42:38.384Z","updated_at":"2025-04-11T22:08:09.236Z","avatar_url":"https://github.com/dohliam.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cantonese Romanization Converter - A tool for converting romanized Cantonese text\n\nThis is a simple client-based Javascript converter for romanized Cantonese text based on data from the [Pingyam database](https://github.com/kfcd/pingyam).\n\nFeatures:\n\n* Supports eight different forms of romanization (including IPA)\n* Supports conversion to and from any two romanization standards\n* Can be downloaded and used offline\n* Mobile-friendly\n\n## Supported romanization systems\n\n* [Yale Romanization](https://en.wikipedia.org/wiki/Yale_romanization_of_Cantonese) (耶魯拼音)\n* [Cantonese Pinyin](https://en.wikipedia.org/wiki/Cantonese_Pinyin) (教院拼音)\n* [S. L. Wong Romanization](https://en.wikipedia.org/wiki/S._L._Wong_(romanisation)) (黃錫凌)\n* [International Phonetic Alphabet](https://en.wikipedia.org/wiki/International_Phonetic_Alphabet) (國際音標)\n* [Jyutping](https://en.wikipedia.org/wiki/Jyutping) (粵拼)\n* [Canton Romanization](https://en.wikipedia.org/wiki/Guangdong_Romanization#Cantonese) (廣州拼音)\n* [Sidney Lau Romanization](https://en.wikipedia.org/wiki/Sidney_Lau_romanisation) (劉錫祥)\n* [Penkyamp](http://cantonese.wikia.com/wiki/Penkyamp) (粵語拼音字)\n\nNote: Yale, SL Wong, and Penkyamp are available both using numerals and diacritics.\n\n## Demo\n\nThere is an online demo [here](https://dohliam.github.io/pingyam/).\n\n## Examples\n\n* 月光光 照地堂 中秋看燈賞月忙\n  * **Yale** (numerals): _yut9 gwong1 gwong1 jiu3 dei6 tong4 jung1 chau1 hon3 dang1 seung2 yut9 mong4_\n  * **Yale** (diacritics): _yuht gwōng gwōng jiu deih tòhng jūng chāu hon dāng seúng yuht mòhng_\n  * **Cantonese Pinyin**: _jyt9 gwong1 gwong1 dziu3 dei6 tong4 dzung1 tsau1 hon3 dang1 soeng2 jyt9 mong4_\n  * **S. L. Wong** (numerals): _jyt⁹ gwɔŋ¹ gwɔŋ¹ dziu³ dei⁶ tɔŋ⁴ dzʊŋ¹ tsɐu¹ hɔn³ dɐŋ¹ sœŋ² jyt⁹ mɔŋ⁴_\n  * **S. L. Wong** (diacritics): _\\_jyt 'gwɔŋ 'gwɔŋ ¯dziu _dei ˌtɔŋ 'dzʊŋ 'tsɐu ¯hɔn 'dɐŋ ´sœŋ \\_jyt ˌmɔŋ_\n  * **IPA**: _jy:t˨ kwɔ:ŋ˥ kwɔ:ŋ˥ tsi:u˧ tei˨ tʰɔ:ŋ˨˩ tsʊŋ˥ tsʰɐu˥ hɔ:n˧ tɐŋ˥ sœ:ŋ˧˥ jy:t˨ mɔ:ŋ˨˩_\n  * **Jyutping**: _jyut6 gwong1 gwong1 ziu3 dei6 tong4 zung1 cau1 hon3 dang1 soeng2 jyut6 mong4_\n  * **Canton Romanization**: _yud6 gwong1 gwong1 jiu3 déi6 tong4 zung1 ceo1 hon3 deng1 sêng2 yud6 mong4_\n  * **Sidney Lau**: _yuet⁶ gwong¹ gwong¹ jiu³ dei⁶ tong⁴ jung¹ chau¹ hon³ dang¹ seung² yuet⁶ mong⁴_\n  * **Penkyamp** (numerals): _yeud6 guong1 guong1 jiu3 dey6 tong4 jonk1 caw1 hon3 dank1 seong2 yeud6 mong4_\n  * **Penkyamp** (diacritics): _yeùd guöng guöng jîu dèy tong jönk cäw hôn dänk seõng yeùd mong_\n\n* 入實驗室㩒緊急掣\n  * **Yale** (numerals): _yap9 sat9 yim6 sat7 gam6 gan2 gap7 jai3_\n  * **Yale** (diacritics): _yahp saht yihm sāt gahm gán gāp jai_\n  * **Cantonese Pinyin**: _jap9 sat9 jim6 sat7 gam6 gan2 gap7 dzai3_\n  * **S. L. Wong** (numerals): _jɐp⁹ sɐt⁹ jim⁶ sɐt⁷ gɐm⁶ gɐn² gɐp⁷ dzɐi³_\n  * **S. L. Wong** (diacritics): _\\_jɐp _sɐt _jim 'sɐt \\_gɐm ´gɐn 'gɐp ¯dzɐi_\n  * **IPA**: _jɐp˨ sɐt˨ ji:m˨ sɐt˥ kɐm˨ kɐn˧˥ kɐp˥ tsɐi˧_\n  * **Jyutping**: _jap6 sat6 jim6 sat1 gam6 gan2 gap1 zai3_\n  * **Canton Romanization**: _yeb6 sed6 yim6 sed1 gem6 gen2 geb1 zei3 _\n  * **Sidney Lau**: _yap⁶ sat⁶ yim⁶ sat¹ gam⁶ gan² gap¹ jai³_\n  * **Penkyamp** (numerals): _yap6 sat6 yim6 sat1 gamp6 gant2 gap1 jay3_\n  * **Penkyamp** (diacritics): _yàp sàt yìm sät gàmp gãnt gäp jây_\n\n## See also\n\n* [Pingyam database](https://github.com/kfcd/pingyam) - A comprehensive list of every possible Cantonese syllable in all major romanization systems\n* [pingyam-rb](https://github.com/dohliam/pingyam-rb) - Ruby library for converting between Cantonese romanization systems\n\n## License\n\nRomanization data has been released under a [CC BY license](https://github.com/kfcd/pingyam/blob/master/LICENSE) by the [kfcd](https://github.com/kfcd/) project.\n\nCSS by [Concise CSS](https://github.com/ConciseCSS/concise.css) ([MIT](https://github.com/ConciseCSS/concise.css/blob/master/LICENSE))\n\nAll other code in this repo is licensed under MIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdohliam%2Fpingyam-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdohliam%2Fpingyam-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdohliam%2Fpingyam-js/lists"}