View on GitHub

Chinese_Rime

收集現代漢語方言和古漢語的中州韻輸入法拼音方案 Collection of phonetic spelling schemas for Sinitic languages and dialects

中州韻輸入法漢語方言拼音方案全集
Collection of Rime Input Method Phonetic Spelling Schemas for Chinese Languages & Dialects

contributions welcome licence

項目宗旨
The mission of this project

本倉庫收集現代漢語各大方言及上古、中古漢語的中州韻輸入法拼音輸入方案和字庫。本項目的目標有三:

  1. 爲漢語非普通話使用者提供實用的拼音輸入方案,解決被迫使用普通話輸入法的困難。
  2. 爲現代漢語方言、古漢語學習者提供實用便利的學習工具,通過拼音打字來練習正音和正字。
  3. 爲學術研究(語言學、漢學、人類學等)提供參考資料。

本項目同時作爲推廣漢語方言拼音輸入的支持項目,項目主頁請見 HanhNgiox.net

This repository collects the phonetic spelling schemas and character sets of Rime input method for Old Chinese, Middle Chinese and modern Chinese languages & dialects. This project aims to:

  1. Provide useful phonetic spelling input schemas for all non-Mandarin Chinese languages & dialects, solving the predicament where non-Mandarin Chinese speakers are compelled to type in Mandarin.
  2. Serve as a useful tool for Chinese language & dialect learners, as one can use phonetic spelling input to practice the standard pronunciation and orthography.
  3. Provide references for academic researches (Linguistics, Sinology, Anthropology, etc.).

This project also supports the promotion project of non-Mandarin phonetic spelling input. The main page of this project is here HanhNgiox.net (Chinese only).

本倉庫分为四个子文件夹:

  1. sources/ 路徑下爲各個輸入方案的來源倉庫,以子模塊 submodule 的形式保存。各輸入法倉庫均爲配方(配方的介紹請參見 Rime 輸入方案又是啥),由方案作者更新維護,可直接通過 plum 安裝部署(關於如何安裝配方,請參照 HanhNgiox.net 上教程)。由於部分方案不存在於 GitHub,故此路徑下方案收錄不完整,
  2. unmaintained/ 路徑下爲从其他渠道收集得的方案文件,此类方案未配方化,无人更新维护,不保证可用性。
  3. download/ 用於存放各個語言的唯一權威版拼音,即爲 發佈頁面 的下載整合包,方便用戶直接部署使用。
  4. script/ 內包含更新收錄碼表所需的代碼。使用方法請見 使用教程

有關已收集方案的资源,如方案白皮书、教程等,請參見 方案相關文件(騰訊微雲 & Dropbox)

This repository has four sub-directories:

  1. Folders under sources/ are the source repositories of some schemas, preserved as submodules. Most of them are recipes (for an introduction to schema recipes, please see Rime 輸入方案又是啥) maintained by their authors, and can be installed and deployed by plum directly (please check out HanhNgiox.net on how to install recipes). Since not all schemas are maintained on GitHub, the collection in this directory is incomplete.
  2. The unmaintained/ directory preserves schemas from other sources which are not recipes. They are not maintained by anybody so the usabilities are not guaranteed.
  3. download/ serves as the folder for the released packages. It contains only the selected schema for the prestige dialect of each language. Hence users can download, deploy and use these off-the-shelf schemas conveniently.
  4. The script/ folder contains scripts for automatically updating the schema files. Please see Tutorial for instructions on how to use.

For related materials of the collected schemas, such as tutorials, schema white papers, etc., please see Schema-related files (Tencent cloud & Dropbox)

使用教程
Tutorial

項目網站
Project website

關於如何使用方言拼音打字,請參考此網站:

For detailed steps with explanations on how to type Chinese characters with these schemas, please visit this website (simplified Chinese only):

漢語方言拼音輸入 HanhNgiox.net

克隆此倉庫
Clone this repository

由於本倉庫體積過大,推薦運行以下命令來略過所有歷史記錄,僅克隆最新版的內容:

Considering the huge size of this repository, it is recommended to run the following command to skip all historical versions, cloning only the latest version of this repository:

git clone --depth=1 https://github.com/laubonghaudoi/Chinese_Rime.git

然後運行以下命令將全部子模塊內容克隆到本地:

Then run the following command to clone all submodules into the repository:

git submodule update --init --recursive

更新碼表
Update schemas

首先確保子模塊中內容已經克隆到本地,然後 cdscript/ 下,運行以下命令來更新子模塊及下載包內方案文件:

First make sure you have cloned all submodules to local, then cd to script/ and run the following commands to update all submodules and schema files in the download package:

# Update all submodules
chmod +x update_submodules.sh
./update_submodules.sh
# Update schema files in /download
python update_download.py

已收錄方案
Collected schemas

目前學界對漢語方言分類歸類問題仍存較大分歧。常見的分類方式有傳統的七分法、《中國語言地圖集》的十分法和 ISO 國際標準的十六分法等。若使用傳統分法,則現代漢語族下分七大語支,官吳贛湘粵客閩。若採用《中國語言地圖集》之十分法,則晉語獨立於官話成一支,徽語獨立於吳語成一支,平話獨立於粵語成一支。若採用 ISO 693-3 標準的十六分法,則平話再分爲南北兩部,閩語再細分爲閩北、閩南、閩東、閩中、莆仙五支,另外文言文也計作一門語言。

The classification for Chinese languages and dialects has been an unsettled issue in the academia. The traditional way (Jerry Norman 1988) puts Chinese languages into seven groups: Mandarin, Wu, Gan, Xiang, Cantonese, Hakka, Min. The Language Atlas of China classifies them into 10 groups, separating Jin, Huizhou and Ping from Mandarin, Wu and Cantonese as independent languages. The ISO 693-3 standard further separates Ping into Northern and Southern divisions and divides Min into Northern, Southern, Eastern, Central and Pu-Xian branches.

爲提高本項目可讀性和後續可維護性,本項目採用 ISO 693-3 標準的十六分法。此標準僅作參考,非最佳標準。若對此分類方式有任何疑問或意見,歡迎新開一個 issue 發起討論。下表爲此標準下各語言所對應的 ISO 639-3 代碼:

To improve the readability and maintainability of this project, here we adopt the ISO 693-3 system. This is for reference only and by no means the gold standard. If you have any questions or suggestions about this, feel free to open a new issue for discussions. The following table shows the ISO 639-3 codes for these languages.

閩東語 Min Dong Chinese 晉語 Jinyu Chinese 官話 Mandarin Chinese 莆仙語 Pu-Xian Chinese 徽語 Huizhou Chinese 閩中語 Min Zhong Chinese 贛語 Gan Chinese 客家話 Hakka Chinese 湘語 Xiang Chinese 文言文 Literary Chinese 閩北語 Min Bei Chinese 閩南語 Min Nan Chinese 吳語 Wu Chinese 粵語 Yue Chinese 北部平話 Northern Ping Chinese 南部平話 Southern Ping Chinese
cdo cjy cmn cpx czh czo gan hak hsn lzh mnp nan wuu yue cnp csp

目前 暫缺閩中語、徽語、贛語、湘語、北部平話 的輸入方案。如有作者已編寫以上語言的輸入方案,請聯系我新開一個 issue 以添加收錄。其他漢語或域外方音的方案亦強烈歡迎。

Right now we are still missing the schemas for Central Min, Huizhou, Gan, Xiang, Northern Ping. If you have composed a schema for any of the languages above, please contact me or open a new issue to add it to the collection. Schemas for other Chinese languages are also highly welcomed.

以下爲方案總表和配方列表。其中配方以符號 ℞ 標識。

Below are the lists of all collected schemas and recipes, where recipes are marked with the symbol ℞.


方案列表(共 116 個方案)
Full list of collected schemas (116 schemas in total)

配方列表(共 49 個配方)
List of recipes (49 recipes in total)


下載包內方案信息詳見 發佈 頁面。

For detailed information of the collected schemas in the download package, please see the release page.

部分方案數據來源(非配方)
Incomplete list of sources of unmaintained schemas (non-recipes)

資源
Resources