{"id":17922737,"url":"https://github.com/overtrue/pinyin-resources","last_synced_at":"2026-01-18T16:31:36.692Z","repository":{"id":66223565,"uuid":"56285681","full_name":"overtrue/pinyin-resources","owner":"overtrue","description":"汉字拼音相关参考资料","archived":false,"fork":false,"pushed_at":"2016-05-23T03:23:49.000Z","size":3181,"stargazers_count":122,"open_issues_count":0,"forks_count":21,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-03T11:12:44.962Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/overtrue.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}},"created_at":"2016-04-15T02:46:02.000Z","updated_at":"2025-01-15T15:07:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"ec22dd38-bab2-4434-a011-67b811b51b61","html_url":"https://github.com/overtrue/pinyin-resources","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/overtrue/pinyin-resources","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overtrue%2Fpinyin-resources","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overtrue%2Fpinyin-resources/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overtrue%2Fpinyin-resources/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overtrue%2Fpinyin-resources/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/overtrue","download_url":"https://codeload.github.com/overtrue/pinyin-resources/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overtrue%2Fpinyin-resources/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28541552,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T14:59:57.589Z","status":"ssl_error","status_checked_at":"2026-01-18T14:59:46.540Z","response_time":98,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-28T20:40:40.167Z","updated_at":"2026-01-18T16:31:36.664Z","avatar_url":"https://github.com/overtrue.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"汉语拼音相关参考资料\n---\n\n此项目为我在开发 [overtrue/pinyin](https://github.com/overtrue/pinyin) 时所用到的参考的资料收集，旨在方便有同样需求的朋友。\n\n### 汉字的多音字处理\n\n_以下内容摘自: [《汉语同音字和多音字处理方法研究》- 杨宪泽,谈文蓉,刘玉萍,张  楠,殷  锋](汉语同音字和多音字处理方法研究.pdf)_\n\n中文是象形文字,字数多,字形复杂。西文是拼音文字，英文只有 26 个字母，加上大写小写及数字符号，总数不超过 128 个，用七位二进制码就可表达。而中文字成千上万,要用十几位二进制码才能把它们区别开来, 这给存储乃至输入方式等都造成困难。\n\n多音字判别方法中技术的关键是基于统计特征， 特征提取使多音字正确判音有效。特征包含在特征词典中, 采用规则描述。共定义了以下特征:\n\n- **词内左右邻接字**\n\n    通式为: X\u003csub\u003ei-1\u003c/sub\u003e X\u003csub\u003ei\u003c/sub\u003e 和 X\u003csub\u003ei\u003c/sub\u003e X\u003csub\u003ei+1\u003c/sub\u003e。X\u003csub\u003ei\u003c/sub\u003e 是当前要判断读音的多音字，这是处理多音字在不同的词语中读不同的音的情况 。例如 “人参” 与 “参加”、“银行” 与 “行程”、“重量” 与 “重复” 等等 。\n\n- **左右邻接词**\n\n    通式为:W\u003csub\u003ei-1\u003c/sub\u003e X\u003csub\u003ei\u003c/sub\u003e 和 X\u003csub\u003ei\u003c/sub\u003eW\u003csub\u003ei+1\u003c/sub\u003e 。X 是当前要判断读音的多音字，W\u003csub\u003ei-1\u003c/sub\u003e 和 W\u003csub\u003ei+1\u003c/sub\u003e 是多音字 的左右邻接词，这是处理多音字与不同的邻接词读不同的音的情况 。例如“相当长”、“大队长”、“长方形” 等等。\n\n- **当前词的词性**\n\n    例如 “数” 作名词的读法和作动词的读法，“更” 作名词的读法和作副词的读法等等。\n\n- **边界条件**\n\n    该特征是有的字在句首 、句末或不同位置读音不同，更多地体现在一些语气助词上面 。例如 “了” 在句中和句末时读音往往不会相同 。\n\n### 参考资料\n\n#### 页面\n\n- [《汉语转拼音-----带音调和多音字识别》](http://www.cnblogs.com/sunli/archive/2007/11/21/967294.html)\n- [《C#分词算法：正向、逆向、双向最大匹配算法》](http://my.oschina.net/u/1270374/blog/164042)\n- [汉字改革 - 维基百科](https://zh.wikipedia.org/wiki/%E6%B1%89%E5%AD%97%E6%94%B9%E9%9D%A9)\n\n#### 统计分析与规范文档\n\n- [《Frequency statistics 频率统计 - 音素和音节频率》- http://lingua.mtsu.edu](http://lingua.mtsu.edu/chinese-computing/phonology/)\n- [《Syllable frequencies with tones 记调音节频率》- http://lingua.mtsu.edu](http://lingua.mtsu.edu/chinese-computing/phonology/syllabletone.php)\n- [《Character frequency lists 汉字单字频率列表》- http://lingua.mtsu.edu](http://lingua.mtsu.edu/chinese-computing/statistics/index.html)\n- [《普通话异读词审音表》1985 年 12 月修订 - 国家语言文字工作委员会](普通话异读词审音表.pdf)\n\n#### 需求设计\n\n- [汉字转拼音 (hz2py)](https://gist.github.com/erning/1338746)\n\n#### 网站\n\n- [CC-CEDICT](http://cc-cedict.org/wiki/)\n- [UNICODE CHARACTER DATABASE](http://www.unicode.org/reports/tr44/)\n- [lingua.mtsu.edu - 中文文本计算](http://lingua.mtsu.edu/chinese-computing/)\n- [汉典](http://www.zdic.net/)\n- [开源词典](http://kaifangcidian.com/)\n- [中华语文知识库（大陆版）](http://www.zhonghuayuwen.org/)\n- [中華語文知識庫（台灣版）](http://chinese-linguipedia.org/clk/)\n\n#### 论文\n\n- [《汉语同音字和多音字处理方法研究》- 杨宪泽,谈文蓉,刘玉萍,张  楠,殷  锋](汉语同音字和多音字处理方法研究.pdf)\n\n#### 开源项目\n\n- [janx/ruby-pinyin](https://github.com/janx/ruby-pinyin)\n- [hotoo/node-pinyin](https://github.com/hotoo/node-pinyin)\n- [mozillazg/python-pinyin](https://github.com/mozillazg/python-pinyin)\n- [\"结巴\"中文分词](https://github.com/erning/jieba)\n- [中文书刊排版相关标准和规范](https://github.com/Haixing-Hu/typesetting-standard)\n\n#### License\n\nCC0 1.0 Universal\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fovertrue%2Fpinyin-resources","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fovertrue%2Fpinyin-resources","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fovertrue%2Fpinyin-resources/lists"}