{"id":28450424,"url":"https://github.com/netcorepal/pinyins","last_synced_at":"2025-06-30T16:32:25.405Z","repository":{"id":133484998,"uuid":"107629892","full_name":"netcorepal/pinyins","owner":"netcorepal","description":"NetCorePal.Toolkit.Pinyins","archived":false,"fork":false,"pushed_at":"2019-03-29T06:30:24.000Z","size":48,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-06T15:07:28.635Z","etag":null,"topics":["chinese","pinyin"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/netcorepal.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2017-10-20T03:53:22.000Z","updated_at":"2023-01-18T15:31:16.000Z","dependencies_parsed_at":"2024-02-15T02:15:09.265Z","dependency_job_id":null,"html_url":"https://github.com/netcorepal/pinyins","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/netcorepal/pinyins","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netcorepal%2Fpinyins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netcorepal%2Fpinyins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netcorepal%2Fpinyins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netcorepal%2Fpinyins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netcorepal","download_url":"https://codeload.github.com/netcorepal/pinyins/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netcorepal%2Fpinyins/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262810724,"owners_count":23367969,"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","pinyin"],"created_at":"2025-06-06T15:07:27.760Z","updated_at":"2025-06-30T16:32:25.398Z","avatar_url":"https://github.com/netcorepal.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 中文转拼音组件\n\n暂不支持多音字智能识别，存在多音字则返回多种情况的组合\n\n### 安装方式\n\n\nTo install SchoolPal.Toolkit.Pinyins from the Package Manager Console, run the following command:\n```\nInstall-Package NetCorePal.Toolkit.Pinyins\n```\n\n\n\n### 中文转拼音首字母\n\n```\nvar v = PinyinConvert.ToPinyinInitials(\"行行好吧\");\n\n//上面代码返回数组 [\"HHHB\",\"XHHB\",\"HXHB\",\"XXHB\"]\n//\"行\"有三个读音 HANG HENG XING 但首字母去重后有两个：H X，共四种组合\n\n```\n\n### 中文转拼音\n```\nvar v = PinyinConvert.ToPinyins(\"行行好吧\");\n\n//返回数组：\n[\"XINGXINGHAOBA\"，\"XINGHENGHAOBA\"，\"XINGHANGHAOBA\"，\"HENGXINGHAOBA\"，\"HENGHENGHAOBA\"，\"HENGHANGHAOBA\"，\"HANGXINGHAOBA\"，\"HANGHENGHAOBA\"，\"HANGHANGHAOBA\"]\n\n\n```\n\n### 中文转拼音首字母和拼音拼接字符串\n\n```\nvar v = PinyinConvert.ToPinyinSearchFomat(\"行行好吧\");\n//分隔符默认为\";\"\n//上面代码返回字符串：\"HHHB;XHHB;HXHB;XXHB;HANGHANGHAOBA;HENGHANGHAOBA;XINGHANGHAOBA;HANGHENGHAOBA;HENGHENGHAOBA;XINGHENGHAOBA;HANGXINGHAOBA;HENGXINGHAOBA;XINGXINGHAOBA\"\n```\n\n# 中文名称转拼音\n\n### 安装\nInstall-Package NetCorePal.Toolkit.Pinyins.ChineseName 【解决百家姓】\n\n### 中文姓名转拼音\nvar result = ChineseNamePinyinConvert.GetChineseNamePinYin(\"单雄信\");\n\n### 返回结果：\nshanxiongxin\n\n### 说明：\n同时支持net45和netcore，支持百家姓多音字\n\n# 中文名称转拼音升级版\n\n### 安装\nInstall-Package NetCorePal.Pinyins.Client 【解决百家姓，并服务化动态完成多音字】\n\n### 中文姓名转拼音\nvar result = ChineseNamePinyinConvert.GetChineseNamePinYin(\"单雄家\");\n\n### 返回结果：\nshanxiongjia\n\n### 说明：\n同时支持net45和netcore，支持百家姓,多音字,并支持动态更新","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetcorepal%2Fpinyins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetcorepal%2Fpinyins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetcorepal%2Fpinyins/lists"}