{"id":13591507,"url":"https://github.com/rime/rime-cantonese","last_synced_at":"2025-05-15T10:03:58.873Z","repository":{"id":37893876,"uuid":"206629805","full_name":"rime/rime-cantonese","owner":"rime","description":"Rime Cantonese input schema | 粵語拼音輸入方案","archived":false,"fork":false,"pushed_at":"2025-02-13T08:50:05.000Z","size":92826,"stargazers_count":580,"open_issues_count":8,"forks_count":64,"subscribers_count":28,"default_branch":"main","last_synced_at":"2025-04-14T16:56:39.263Z","etag":null,"topics":["cantonese","cantonese-dictionary","cantonese-language","chinese","chinese-language","chinese-nlp","input-method","jyutping","linguistics","rime","rime-schema"],"latest_commit_sha":null,"homepage":"https://jyutping.net","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc-by-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rime.png","metadata":{"files":{"readme":"README-cmn.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-CC-BY","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}},"created_at":"2019-09-05T18:20:33.000Z","updated_at":"2025-04-14T04:43:53.000Z","dependencies_parsed_at":"2024-12-01T05:25:14.820Z","dependency_job_id":"982b844c-b9a3-436b-9607-e3e845174967","html_url":"https://github.com/rime/rime-cantonese","commit_stats":{"total_commits":833,"total_committers":22,"mean_commits":37.86363636363637,"dds":0.7599039615846339,"last_synced_commit":"2014519280672d2f03e342656c2574019eddfe67"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rime%2Frime-cantonese","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rime%2Frime-cantonese/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rime%2Frime-cantonese/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rime%2Frime-cantonese/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rime","download_url":"https://codeload.github.com/rime/rime-cantonese/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254319716,"owners_count":22051072,"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":["cantonese","cantonese-dictionary","cantonese-language","chinese","chinese-language","chinese-nlp","input-method","jyutping","linguistics","rime","rime-schema"],"created_at":"2024-08-01T16:00:58.394Z","updated_at":"2025-05-15T10:03:58.453Z","avatar_url":"https://github.com/rime.png","language":"Python","funding_links":[],"categories":["漢語方言","Open Source"],"sub_categories":["Categories"],"readme":"[粵語](README.md) | [English](README-en.md)\n\n\u003cdiv lang=\"cmn\"\u003e\n\n\u003ch1 align=\"center\"\u003eRime 粵語拼音方案\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/rime/rime-cantonese/issues\"\u003e\u003cimg src=\"https://img.shields.io/badge/%E6%AD%A1%E8%BF%8E-%E5%8F%83%E8%88%87%E8%B2%A2%E7%8D%BB-1dd3b0?style=for-the-badge\u0026logo=github\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/rime/rime-cantonese/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/rime/rime-cantonese?color=38618c\u0026label=%E7%A9%A9%E5%AE%9A%E7%99%BC%E4%BD%88%E7%89%88%E6%9C%AC\u0026style=for-the-badge\"/\u003e\u003c/a\u003e\n\u003cimg alt=\"GitHub Workflow Status\" src=\"https://img.shields.io/github/actions/workflow/status/rime/rime-cantonese/package.yml?label=%E5%B0%81%E8%A3%9D%E7%A8%8B%E5%BC%8F\u0026logo=github\u0026style=for-the-badge\"\u003e\n\n本項目由「粵語計算語言學基礎建設組」([@CanCLID](https://github.com/CanCLID)) 開發及維護，主體部分循「[共享創意-署名-4.0 國際](http://creativecommons.org/licenses/by/4.0/)」協議發佈，`jyut6ping3.maps` 循「[開放資料庫授權-1.0](https://opendatacommons.org/licenses/odbl/)」協議發佈。\n\n\u003cp align=\"center\"\u003e\u003ca href=\"https://github.com/rime/rime-cantonese/releases\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/rime/rime-cantonese/build/button 安裝教程.svg\"/\u003e\u003c/a\u003e\u003c/p\u003e\n\n如有問題，歡迎加入下述 [Telegram 交流組](https://t.me/rime_cantonese)尋求協助。\n\n---\n\n配方：℞ `cantonese`\n\n`jyut6ping3` 是聲調顯示版方案，`jyut6ping3_ipa` 是 IPA 顯示版方案。\n\n**碼表收音收字詞條問題反饋**：[![Google Form](https://img.shields.io/badge/Google_Form-white?style=flat-square\u0026logo=google)](https://forms.gle/83cVEAiahr9wjyyq6) [![騰訊問卷](https://img.shields.io/badge/%E9%A8%B0%E8%A8%8A%E5%95%8F%E5%8D%B7-brightgreen?style=flat-square)](https://wj.qq.com/s2/7613837/0794)\n\n**Telegram 用户交流組**：[![t.me/rime_cantonese](https://img.shields.io/badge/rime_cantonese-blue?style=flat-square\u0026logo=telegram)](https://t.me/rime_cantonese)\n\n**拼音方案**\n\n- 本方案**僅**支援「香港語言學學會粵語拼音方案」（簡稱「**粵拼**」）：\n  - [Jyutping 粵拼 | lshk](https://www.lshk.org/jyutping)\n  - [粵拼：香港語言學學會粵語拼音方案](https://www.jyutping.org/jyutping/)\n  - [香港語言學學會粵語拼音方案](https://zh.wikipedia.org/wiki/香港語言學學會粵語拼音方案)\n- 分歧拼音方案補丁：詳情請參閱 [`CanCLID/rime-cantonese-schemes`](https://github.com/CanCLID/rime-cantonese-schemes)。\n\n**演示**\n\n| 粵語拼音                   | 粵語拼音（IPA 版）        |\n| -------------------------- | ------------------------- |\n| ![聲調版](./demo/tone.gif) | ![IPA 版](./demo/ipa.gif) |\n\n- 分歧拼音方案排版工具：[`CanCLID/rime-cantonese-schemes-editor`](https://github.com/CanCLID/rime-cantonese-schemes-editor)\n\n## 使用說明\n\n### 聲調輸入\n\n輸入時可忽略聲調，也可按照下列鍵位輸入：\n\n1. v：陰平，打 `siv` 輸出「詩」；上陰入，打 `sikv` 輸出「色」\n2. x：陰上，打 `six` 輸出「史」\n3. q：陰去，打 `siq` 輸出「試」；下陰入，打 `sekq` 輸出「錫」\n4. vv：陽平，打 `sivv` 輸出「時」\n5. xx：陽上，打 `sixx` 輸出「市」\n6. qq：陽去，打 `siqq` 輸出「事」；陽入，打 `sikqq` 輸出「食」\n\n### 添加模糊音支援\n\n本方案預設**不支援**任何模糊音或懶音，即區分 n-/l-, \u0026empty;-/ng- 等常見懶音。若要啓用模糊音，先打開 `jyut6ping3.schema.yaml` ，取消 `speller/algebra:` 相應代碼的註釋（刪除前置 `#` 號）。例如想支援 n-/l- 不分，`speller/algebra:` 相應行數應改爲：\n\n```yaml\n# 取消下行註釋，支援 n- 併入 l- ，如「你」讀若「理」\n- derive/^n(?!g)/l/\n```\n\n然後重新部署，試一下打 lei hou，可以看到也能輸出「你好」了。\n\n### 用字標準切換\n\n本方案預設採用 OpenCC 用字標準（選單中顯示為「傳統漢字」）。也支援**香港傳統漢字**、**臺灣傳統漢字**和**大陆简化汉字**。要切換用字標準，請按 \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003e`\u003c/kbd\u003e 然後在菜單中選擇希望使用的用字標準。\n\n### Emoji 輸入\n\n按 \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003e`\u003c/kbd\u003e 打開菜單，然後點擊 \u003ckbd\u003e2\u003c/kbd\u003e，選擇「有 Emoji」，即可啓用 emoji——當你輸入一個中文詞，選字表即會出現相應的 emoji 符號。\n\nemoji 碼表請見 [rime-emoji-cantonese](https://github.com/rime/rime-emoji-cantonese) 。\n\n如果想永久啓用 emoji，可以把 `jyut6ping3.schema.yaml` 中的 `switches` 修改爲：\n\n```yaml\n- name: emoji_cantonese_suggestion\n  # 取消下行註釋，預設啓動 emoji\n  reset: 1\n  states: [冇 Emoji, 有 Emoji]\n```\n\n### 反查\n\n本方案支援普通話、[粵語兩分](https://github.com/CanCLID/rime-loengfan)、筆畫、倉頡反查，反查鍵：\n\n- 普通話：\u003ckbd\u003e`\u003c/kbd\u003e\n- 粵語兩分：\u003ckbd\u003er\u003c/kbd\u003e\n- 筆畫：\u003ckbd\u003ex\u003c/kbd\u003e\n- 倉頡五代：\u003ckbd\u003ev\u003c/kbd\u003e\n\n### 特殊符號輸入\n\n本方案支持特殊符號輸入，輸入方法爲 \u003ckbd\u003e/\u003c/kbd\u003e + 符號代碼。\n\n符號代碼請見：\n\n- [`symbols.yaml`](https://github.com/rime/rime-prelude/blob/master/symbols.yaml)\n- [`symbols_cantonese.yaml`](symbols_cantonese.yaml)\n\n## 字音及詞庫資料來源\n\n見本倉庫 [Wiki](https://github.com/rime/rime-cantonese/wiki)。\n\n## 貢獻指南\n\n若有任何修改意見，或希望參與本項目，可以直接[在 issue 分頁中提出](https://github.com/rime/rime-cantonese/issues)，也可以在上述 [Telegram 交流組](https://t.me/rime_cantonese)中直接反饋意見。\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frime%2Frime-cantonese","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frime%2Frime-cantonese","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frime%2Frime-cantonese/lists"}