Chinese_Rime

Chinese_Rime

汉语方言及古汉语开源输入法方案集

Chinese_Rime项目收集了现代汉语各分支及上古、中古汉语的中州韵输入法拼音方案和字库。该开源项目为非普通话使用者提供实用的拼音输入方案,为汉语学习者提供便利工具,同时为学术研究提供参考资料。目前已收录142个输入方案,覆盖从上古汉语到现代汉语方言的多个语种,是汉语输入法领域的重要资源。

Rime输入法汉语方言拼音方案中古汉语Github开源项目
<h1>中州韻輸入法非普通話漢語拼音方案全集 <br/>Collection of Rime Input Method Romanization Schemas for Chinese Languages & Dialects</h1>

contributions welcome licence

<h2>項目宗旨 <br/>The mission of this project</h2>

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

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

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

  1. Provide useful phonetic spelling (romanization) input schemas for all non-MSC(Modern Standard Chinese, a.k.a Standard Mandarin) languages & dialects, enabling non-MSC speakers to type in their mother tongues.
  2. Serve as a useful tool for Sinitic / Chinese language & dialect learners, as one can use phonetic spelling input to practice the standard pronunciation and orthography.
  3. Serve as a reference for academic researches (Linguistics, Sinology, Anthropology, etc.).

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

  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)

<h2>使用教程 <br/>Tutorial</h2> <h3>克隆此倉庫 <br/>Clone this repository</h3>

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

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
<h3>更新碼表 <br/>Update schemas</h3>

首先確保子模塊中內容已經克隆到本地,然後 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
<h2>已收錄方案 <br/>Collected schemas</h2>

目前學界對漢語分支分類歸類問題仍存較大分歧。常見的分類方式有傳統的七分法、《中國語言地圖集》的十分法和 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
cdocjycmncpxczhczoganhakhsnlzhmnpnanwuuyuecnpcsp

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

Right now we are still missing the schemas for Central Min, Huizhou, Gan, 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 ℞.


<h3>方案列表(共 142 個方案) <br/>Full list of collected schemas (142 schemas in total)</h3> <ul> <li> <details> <summary>上古漢語 Old Chinese</summary> <ul> <li>上古全拼 - <code>dkzp</code></li> <li> RIME 上古漢語輸入方案集 ℞ <code>Hulenkius/RIME_OC_collections</code> <ul> <li>上古漢語(MSOEG, 布之道) - <code>OC_msoegDK</code></li> <li>古典漢語(MSOEG) - <code>OC_msoeg</code></li> <li>上古漢語(白-沙2014) - <code>OC_baxter-sagart</code></li> <li>晚期上古漢語(斯塔羅斯金) - <code>OC_starostinLO</code></li> <li>詩經韻尾(斯塔羅斯金) - <code>OC_starostinTK</code></li> <li>上古漢語(許思萊) - <code>OC_schuesslerOC</code></li> <li>東漢漢語(許思萊) - <code>OC_schuesslerLHC</code></li> <li>上古漢語(鄭張尚芳) - <code>OC_zhengzhang</code></li> <li>上古漢語(金理新) - <code>OC_jinlixin</code></li> <li>上古漢語(白一平1992) - <code>OC_baxter1992</code></li> <li>上古漢語(王力) - <code>OC_wangli</code></li> <li>上古漢語(李方桂) - <code>OC_lifanggui</code></li> <li>上古漢語(周法高) - <code>OC_zhoufagao</code></li> </ul> </li> </ul> </details> </li> <li> <details> <summary>中古漢語 Middle Chinese</summary> <ul> <li> 中古漢語(切韻音系)全拼及三拼 ℞ <code>biopolyhedron/rime-middle-chinese</code> <ul> <li>中古全拼 - <code>zyenpheng</code></li> <li>中古三拼 - <code>triungkoxsampheng</code></li> </ul> </li> <li> 爾切羅馬字 ℞ <code>rime-aca/rime-nieh-ched</code> <ul> <li>爾切羅馬字 - <code>nieh_ched</code></li> </ul> </li> <li> 廣韻段毄攴字灋 ℞ <code>rime-aca/rime-kmg</code> <ul> <li>廣韻段毄攴字法 -

编辑推荐精选

TRAE编程

TRAE编程

AI辅助编程,代码自动修复

Trae是一种自适应的集成开发环境(IDE),通过自动化和多元协作改变开发流程。利用Trae,团队能够更快速、精确地编写和部署代码,从而提高编程效率和项目交付速度。Trae具备上下文感知和代码自动完成功能,是提升开发效率的理想工具。

AI工具TraeAI IDE协作生产力转型热门
蛙蛙写作

蛙蛙写作

AI小说写作助手,一站式润色、改写、扩写

蛙蛙写作—国内先进的AI写作平台,涵盖小说、学术、社交媒体等多场景。提供续写、改写、润色等功能,助力创作者高效优化写作流程。界面简洁,功能全面,适合各类写作者提升内容品质和工作效率。

AI辅助写作AI工具蛙蛙写作AI写作工具学术助手办公助手营销助手AI助手
问小白

问小白

全能AI智能助手,随时解答生活与工作的多样问题

问小白,由元石科技研发的AI智能助手,快速准确地解答各种生活和工作问题,包括但不限于搜索、规划和社交互动,帮助用户在日常生活中提高效率,轻松管理个人事务。

热门AI助手AI对话AI工具聊天机器人
Transly

Transly

实时语音翻译/同声传译工具

Transly是一个多场景的AI大语言模型驱动的同声传译、专业翻译助手,它拥有超精准的音频识别翻译能力,几乎零延迟的使用体验和支持多国语言可以让你带它走遍全球,无论你是留学生、商务人士、韩剧美剧爱好者,还是出国游玩、多国会议、跨国追星等等,都可以满足你所有需要同传的场景需求,线上线下通用,扫除语言障碍,让全世界的语言交流不再有国界。

讯飞智文

讯飞智文

一键生成PPT和Word,让学习生活更轻松

讯飞智文是一个利用 AI 技术的项目,能够帮助用户生成 PPT 以及各类文档。无论是商业领域的市场分析报告、年度目标制定,还是学生群体的职业生涯规划、实习避坑指南,亦或是活动策划、旅游攻略等内容,它都能提供支持,帮助用户精准表达,轻松呈现各种信息。

AI办公办公工具AI工具讯飞智文AI在线生成PPTAI撰写助手多语种文档生成AI自动配图热门
讯飞星火

讯飞星火

深度推理能力全新升级,全面对标OpenAI o1

科大讯飞的星火大模型,支持语言理解、知识问答和文本创作等多功能,适用于多种文件和业务场景,提升办公和日常生活的效率。讯飞星火是一个提供丰富智能服务的平台,涵盖科技资讯、图像创作、写作辅助、编程解答、科研文献解读等功能,能为不同需求的用户提供便捷高效的帮助,助力用户轻松获取信息、解决问题,满足多样化使用场景。

热门AI开发模型训练AI工具讯飞星火大模型智能问答内容创作多语种支持智慧生活
Spark-TTS

Spark-TTS

一种基于大语言模型的高效单流解耦语音令牌文本到语音合成模型

Spark-TTS 是一个基于 PyTorch 的开源文本到语音合成项目,由多个知名机构联合参与。该项目提供了高效的 LLM(大语言模型)驱动的语音合成方案,支持语音克隆和语音创建功能,可通过命令行界面(CLI)和 Web UI 两种方式使用。用户可以根据需求调整语音的性别、音高、速度等参数,生成高质量的语音。该项目适用于多种场景,如有声读物制作、智能语音助手开发等。

咔片PPT

咔片PPT

AI助力,做PPT更简单!

咔片是一款轻量化在线演示设计工具,借助 AI 技术,实现从内容生成到智能设计的一站式 PPT 制作服务。支持多种文档格式导入生成 PPT,提供海量模板、智能美化、素材替换等功能,适用于销售、教师、学生等各类人群,能高效制作出高品质 PPT,满足不同场景演示需求。

讯飞绘文

讯飞绘文

选题、配图、成文,一站式创作,让内容运营更高效

讯飞绘文,一个AI集成平台,支持写作、选题、配图、排版和发布。高效生成适用于各类媒体的定制内容,加速品牌传播,提升内容营销效果。

热门AI辅助写作AI工具讯飞绘文内容运营AI创作个性化文章多平台分发AI助手
材料星

材料星

专业的AI公文写作平台,公文写作神器

AI 材料星,专业的 AI 公文写作辅助平台,为体制内工作人员提供高效的公文写作解决方案。拥有海量公文文库、9 大核心 AI 功能,支持 30 + 文稿类型生成,助力快速完成领导讲话、工作总结、述职报告等材料,提升办公效率,是体制打工人的得力写作神器。

下拉加载更多