{"id":13590766,"url":"https://github.com/andy0130tw/iridium-bpmf","last_synced_at":"2025-12-30T00:11:10.046Z","repository":{"id":41243327,"uuid":"131767773","full_name":"andy0130tw/iridium-bpmf","owner":"andy0130tw","description":"銥 [Ir] 注音 — (又是一個) 基於 RIME、參酌其它注音輸入法習慣、符合臺灣使用習慣為規準的注音輸入方案。","archived":false,"fork":false,"pushed_at":"2023-10-11T06:16:19.000Z","size":8006,"stargazers_count":56,"open_issues_count":4,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-06T11:44:48.149Z","etag":null,"topics":["bopomofo","ime","rime","zhuyin"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andy0130tw.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}},"created_at":"2018-05-01T22:03:08.000Z","updated_at":"2024-10-17T12:52:23.000Z","dependencies_parsed_at":"2024-01-14T04:36:13.324Z","dependency_job_id":"09b664c0-1e75-4352-9eec-e50bc907d5ad","html_url":"https://github.com/andy0130tw/iridium-bpmf","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andy0130tw%2Firidium-bpmf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andy0130tw%2Firidium-bpmf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andy0130tw%2Firidium-bpmf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andy0130tw%2Firidium-bpmf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andy0130tw","download_url":"https://codeload.github.com/andy0130tw/iridium-bpmf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247860687,"owners_count":21008334,"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":["bopomofo","ime","rime","zhuyin"],"created_at":"2024-08-01T16:00:50.290Z","updated_at":"2025-12-30T00:11:10.040Z","avatar_url":"https://github.com/andy0130tw.png","language":null,"funding_links":[],"categories":["音碼"],"sub_categories":[],"readme":"# Iridium-Bopomofo\n\n\u003e 銥是化學元素，符號為Ir，原子序為77，屬於鉑系過渡金屬，為質地堅硬易碎的銀白色固體。銥是所有元素中密度第二高的元素（僅次於鋨），而其耐腐蝕性是所有金屬元素中最高，在2000℃高溫下仍然能抵抗腐蝕。\n\u003e \u003cdiv align=\"right\"\u003e\u0026mdash; \u003ca href=\"https://zh.wikipedia.org/wiki/銥\"\u003e銥 - Wikipedia\u003c/a\u003e\u003c/div\u003e\n\n(又是一個) 基於 RIME、參酌其它注音輸入法習慣、符合臺灣使用習慣為規準的注音輸入方案。\n\n配方： ℞ `iridium-bpmf`\n\n使用「東風破」 [`plum`](https://github.com/rime/plum) 安裝：`bash rime-install andy0130tw/iridium-bpmf`。\n\n## 字典檔\n\n本方案曾經內附一份來自 [地球拼音](https://github.com/rime/rime-terra-pinyin) ℞ `terra-pinyin` 的字典檔。自 2023/10/10 內建詞庫改使用由[小麥注音輸入法](https://github.com/openvanilla/mcbopomofo/) (McBopomofo, MIT 授權) 經程式轉換而來的詞庫。此詞庫由臺灣人維護，且定期有開發者編修及貢獻，作者評估其讀音、詞彙、詞頻品質等方面，認為較適合做為預設詞庫檔。\n\n## 示範\n\n\u003cp align=\"center\"\u003e\n\u003cimg alt=\"demo gif\" src=\"../assets/demo.gif\"\u003e\n\u003c/p\u003e\n\n示範環境為 Pop!\\_OS 18.04 搭配 gedit。\n\n## 特色\n\n* 可不照聲介韻順序輸入，如「ㄋㄠㄧˇ」會自動修正為「ㄋㄧㄠˇ」，由 [RIME設定檔-注音（google注音+台灣注音習慣）](http://deltazone.pixnet.net/blog/post/264319309-%E9%BC%A0%E9%AC%9A%E7%AE%A1%E6%B3%A8%E9%9F%B3%E6%96%B9%E6%A1%88---%E7%AC%A6%E5%90%88%E4%B8%80%E8%88%AC%E6%B3%A8%E9%9F%B3%E4%BD%BF%E7%94%A8%E8%80%85%E7%BF%92%E6%85%A3%E8%A8%AD) 引用而來。\n* 正確設定繁簡轉換 (行為可在方案選單中切換)\n* 對新手而言較為直覺的快速鍵綁定：\n  * 用 Backspace 退格時，已完成組字的字會整字刪除，而非逐音節刪除\n  * 模擬新注音的行為，可以直接用「注音+空格」輸入注音本身、「聲調」鍵直接輸入聲調\n  * 將原始 RIME 設計的左右 Shift 對調，使較常用的「左 Shift」的功能變為臨時西文模式 (在鼠鬚管上，[左右 Shift 的快速鍵似乎會有衝突](https://github.com/rime/squirrel/issues/35))\n* 儘可能在設定檔中加上註解，使得客製化更加便利\n\n## 手動部署方法\n\n以 Ubuntu 搭配 ibus 為例：\n\n1. 將此專案拷貝到 `~/.config/ibus/rime` 下，並將需要的檔案符號連結至該目錄。\n\n   ```bash\n   git clone https://github.com/andy0130tw/iridium-bpmf\n   ln -s iridium-bpmf/iridium_bpmf.schema.yaml\n   ln -s iridium-bpmf/iridium_bpmf_ext.dict.yaml\n   ln -s iridium-bpmf/iridium_bpmf_phrase.txt\n   ln -s iridium-bpmf/mcbopomofo.dict.yaml\n   ```\n\n   (或是讀者若會使用 `xargs` 也可自行簡化此流程)\n\n2. 依照 `default.custom.yaml.ref` 新建或修改設定檔補丁 `default.custom.yaml`。\n\n   * `schema_list`：將本方案加入已啟用的方案列表\n   * `key_binder/bindings`：修改有關移動選單游標的按鍵映射 \\\n     注意這個檔案預設使用者是使用橫向選字列表，然而這並非預設行為。如果要使用直向的配置，在此步驟將 `send` 參數的 `Page_{Up,Down}` 和其下兩行的對應參數交換。\n   * `switcher`: 新增本方案會用到的開關\n\n3. 在 Rime 選單上選擇「部署」。\n\n4. 好耶\u003cbr\u003e\n   ![好耶](https://user-images.githubusercontent.com/5269414/115489814-714fa480-a28f-11eb-8f9b-2af83d5551c4.png)\n\n# 執行環境\n\n本專案支援的平臺是 Linux 下的中州韻，但應仍然可以在其他基於 librime 的輸入法軟體下正常運作。作者已在以下環境中測試，皆可以正常使用本方案，無明顯功能差異。\n\n* Ubuntu 18.04 LTS + GNOME + IBus\n* Ubuntu 20.04 LTS + GNOME + IBus\n* Ubuntu 18.04 LTS + Budgie + IBus\n* Debian 10 + fcitx\n* macOS Sonoma 14 + 鼠鬚管\n\n有在小狼毫 (Windows) 或鼠鬚管 (Mac) 配置過此方案的朋友，歡迎在 [Issue tracker](https://github.com/andy0130tw/iridium-bpmf/issues) 分享。\n\n## GNOME/IBus 相關常見問題\n\n不見得和本專案相關，只是網路上的中文資源搜尋不易，整理之後放在這裡。\n\n### 在 IBus 使用橫向選字列表\n\n因為 ibus-rime 的設計細節，在 GNOME 底下 IBus 的選字列表不會遵照 `ibus-config` 內的方向設定，一律為直向，如圖所示：\n\n![直向選字視窗](https://user-images.githubusercontent.com/5269414/115489988-c2f82f00-a28f-11eb-8aab-a24e756899db.png)\n\n若要在 IBus 上使用橫向配置，必須明確於 `~/.config/ibus/rime/build/ibus_rime.yaml` 檔案指定，如果不存在的話手動建立並加入以下內容，\n\n```yaml\nstyle:\n  horizontal: true\n```\n\n然後重新部署即可。如果檔案已經存在，則只要將 `horizontal` 屬性從 `false` 改成 `true` 就好。\n\n\u003e * [作者某天在整理 rime 設定檔的時候無意間查到的解法連結](https://forums.fedoraforum.org/showthread.php?320042-How-to-set-ibus-rime-to-horizontal-in-fedora-29\u0026p=1819670#post1819670)。\n\u003e * [或是直接看程式碼](https://github.com/rime/ibus-rime/blob/1.5.0/rime_settings.c)。\n\n### 在 GNOME 底下使用 IBus 提供的面板\n\n眾所周知 GNOME 桌面環境花了相當心力在整合 (或說耦合) IBus 的輸入體驗，以致於使用者 (或說作者) 更換桌面環境時常常會突然發現選字視窗的行為不同，這個特性常招致輸入法開發者的[抱怨 (no endorsement)](https://www.csslayer.info/wordpress/linux/fucked-by-gnome3/)。最重大的差異是 GNOME 會停用 IBus 提供的面板程式 `ibus-ui-gtk`，攔截其事件然後自己繪製一個面板，而且似乎沒有提供使用者關閉此功能的選項。如果有研究或測試的需要，請參考[這個專案做的相關嘗試](https://github.com/qbane/gnome-disable-ibus-manager)。\n\n# 實驗\n\n一些與 RIME 有關的嘗試或實驗，為維護方便及維持此專案穩定性，會發佈在[另一個 repo](https://github.com/andy0130tw/aarrr-rime)，習慣本方案後可以搭配使用。\n\n若想從小麥注音詞庫生成最新的字典檔，請參閱字典檔轉換的[參考實作](https://gist.github.com/andy0130tw/37632b08f5a83ad913135896f08dcace)。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandy0130tw%2Firidium-bpmf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandy0130tw%2Firidium-bpmf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandy0130tw%2Firidium-bpmf/lists"}