{"id":13461713,"url":"https://github.com/pwxcoo/chinese-xinhua","last_synced_at":"2025-05-13T17:11:36.030Z","repository":{"id":37425441,"uuid":"120246942","full_name":"pwxcoo/chinese-xinhua","owner":"pwxcoo","description":":orange_book: 中华新华字典数据库。包括歇后语，成语，词语，汉字。","archived":false,"fork":false,"pushed_at":"2023-12-26T08:52:43.000Z","size":36271,"stargazers_count":11163,"open_issues_count":35,"forks_count":2616,"subscribers_count":308,"default_branch":"master","last_synced_at":"2025-04-24T02:00:03.834Z","etag":null,"topics":["chinese","chinese-characters","chinese-language","chinese-nlp","chinese-simplified","chinese-traditional","data","json","json-data","json-dataset","python3","scraper"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pwxcoo.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-02-05T02:51:53.000Z","updated_at":"2025-04-23T02:28:51.000Z","dependencies_parsed_at":"2024-01-11T20:57:09.309Z","dependency_job_id":null,"html_url":"https://github.com/pwxcoo/chinese-xinhua","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwxcoo%2Fchinese-xinhua","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwxcoo%2Fchinese-xinhua/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwxcoo%2Fchinese-xinhua/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwxcoo%2Fchinese-xinhua/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pwxcoo","download_url":"https://codeload.github.com/pwxcoo/chinese-xinhua/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253990470,"owners_count":21995774,"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":["chinese","chinese-characters","chinese-language","chinese-nlp","chinese-simplified","chinese-traditional","data","json","json-data","json-dataset","python3","scraper"],"created_at":"2024-07-31T11:00:53.955Z","updated_at":"2025-05-13T17:11:31.012Z","avatar_url":"https://github.com/pwxcoo.png","language":"Python","funding_links":[],"categories":["Python","Uncategorized","Subject Specific","2023-12-11","TODO","创意 \u003ca name=\"idea\"\u003e\u003c/a\u003e","Library","2. Dictionary","others","Corpus 中文语料","Python（171）","工具集"],"sub_categories":["Uncategorized","Chinese","2.1 China Xinhua dictionary","Multi-Modal Representation \u0026 Retrieval 多模态表征与检索","集合整理"],"readme":"# chinese-xinhua\n\n中华新华字典数据库和 API 。收录包括 14032 条歇后语，16142 个汉字，264434 个词语，31648 个成语。\n\n## Project Structure\n\n```\nchinese-xinhua/\n|\n+- data/ \u003c-- 数据文件夹\n|  |\n|  +- idiom.json \u003c-- 成语\n|  |\n|  +- word.json \u003c-- 汉字\n|  |\n|  +- xiehouyu.json \u003c-- 歇后语\n|  |\n|  +- ci.json \u003c-- 词语\n```\n\n## Database Introduction\n\n### 成语 (idiom.json)\n\n```json\n[\n    {\n        \"derivation\": \"语出《法华经·法师功德品》下至阿鼻地狱。”\",\n        \"example\": \"但也有少数意志薄弱的……逐步上当，终至堕入～。★《上饶集中营·炼狱杂记》\",\n        \"explanation\": \"阿鼻梵语的译音，意译为无间”，即痛苦无有间断之意。常用来比喻黑暗的社会和严酷的牢狱。又比喻无法摆脱的极其痛苦的境地。\",\n        \"pinyin\": \"ā bí dì yù\",\n        \"word\": \"阿鼻地狱\",\n        \"abbreviation\": \"abdy\"\n    },\n    ...\n]\n```\n\n### 词语 (ci.json)\n\n```json\n[\n    { \n        \"ci\": \"宸纶\", \n        \"explanation\": \"1.帝王的诏书﹑制令。\" \n    },\n    ...\n]\n```\n\n### 汉字 (word.json)\n\n```json\n[\n    {\n        \"word\": \"嗄\",\n        \"oldword\": \"嗄\",\n        \"strokes\": \"13\",\n        \"pinyin\": \"á\",\n        \"radicals\": \"口\",\n        \"explanation\": \"嗄〈叹〉\\n\\n 同啊”。表示省悟或惊奇\\n\\n 嗄!难道这里是没有地方官的么?--宋·佚名《新编五代史平话》\\n\\n 嗄á叹词。在句首，〈表〉疑问或反问～，这是什么？～，你想干什么？\\\"嗄\\\"另见shà㈠。\\n\\n 嗄shà\\n\\n ⒈声音嘶哑～声。\\n\\n 嗄a 1.助词。表示强调﹑肯定或辩解。 2.助词。方言。表示疑问或反诘。\\n\\n 嗄xià 1.见\\\"嗄饭\\\"。 2.见\\\"嗄程\\\"。\",\n        \"more\": \"嗄 ga、a 部首 口 部首笔画 03 总笔画 13  嗄2\\nshà\\n〈形〉\\n(1)\\n声音嘶哑的 [hoarse]\\n终日嚎而嗌不嗄。--《老子》\\n(2)\\n又如嗄哑,嗄嘶(嗓音嘶哑)\\n嗄\\nshà\\n〈叹〉\\n(1)\\n什么 [what]--表示否定\\n我要丢个干干净,看你嗄法把我治。--清·蒲松龄《聊斋俚曲集》\\n(2)\\n旧时仆役对主人、下级对上级的应诺声 [yes]\\n带进来”。两边军士应一声嗄”,即将牛皋推至面前。--《说岳全传》\\n另见á\\n嗄1\\ná\\n〈叹〉\\n同啊”(á)。表示省悟或惊奇 [ah]\\n嗄!难道这里是没有地方官的么?--宋·佚名《新编五代史平话》\\n另见shà\\n嗄1\\nshà　ㄕㄚ╝\\n嗓音嘶哑。\\n郑码janr，u55c4，gbke0c4\\n笔画数13，部首口，笔顺编号2511325111354\\n嗄2\\ná　ㄚˊ\\n同啊2”。\\n郑码janr，u55c4，gbke0c4\\n笔画数13，部首口，笔顺编号2511325111354\"\n    },\n    ... \n]\n```\n\n### 歇后语 (xiehouyu.json)\n\n```json\n[\n    {\n        \"riddle\": \"飞机上聊天\",\n        \"answer\": \"高谈阔论\"\n    },\n    ...\n]\n```\n\n## Changelog\n\n\u003cdetails\u003e\u003csummary\u003e查看更新日志  \u003c/summary\u003e \n\n- 20181216: 成语数据集去重\n- 20181216: API 功能下线\n- 20180803: 添加词语数据集\n- 20180206: 添加成语，歇后语，汉字数据集\n\n\u003c/details\u003e\n\n\n## Copyright\n\n本仓库的所有的数据都是我从网上收集整理的。仓库本来的目的是因为我以前想做一个成语接龙的东西，但是苦于没有现成可用的数据库，自己就从各个网站抓取整理了一份。放在 Github 是为了方便自己的使用，同时也能方便有类似需求的人不用去做这些 trival 的工作。所有抓取数据的[脚本](./scripts/README.md)都在仓库里。\n\n**本仓库无任何商业目的！如果有侵权行为将及时删除！**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwxcoo%2Fchinese-xinhua","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpwxcoo%2Fchinese-xinhua","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwxcoo%2Fchinese-xinhua/lists"}