{"id":16549701,"url":"https://github.com/uiur/pinyin_to_kana","last_synced_at":"2026-05-10T10:53:20.171Z","repository":{"id":141424833,"uuid":"243437294","full_name":"uiur/pinyin_to_kana","owner":"uiur","description":"Translate Chinese pinyin to Japanese kana","archived":false,"fork":false,"pushed_at":"2020-02-29T19:12:16.000Z","size":8,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-14T17:16:15.393Z","etag":null,"topics":["i18n","japanese","pinyin"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/uiur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2020-02-27T05:18:42.000Z","updated_at":"2023-01-11T07:56:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"774e8358-7fb0-422d-94d5-fcefb692ba3e","html_url":"https://github.com/uiur/pinyin_to_kana","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiur%2Fpinyin_to_kana","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiur%2Fpinyin_to_kana/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiur%2Fpinyin_to_kana/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiur%2Fpinyin_to_kana/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uiur","download_url":"https://codeload.github.com/uiur/pinyin_to_kana/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241859588,"owners_count":20032317,"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":["i18n","japanese","pinyin"],"created_at":"2024-10-11T19:30:28.054Z","updated_at":"2026-05-10T10:53:15.117Z","avatar_url":"https://github.com/uiur.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PinyinToKana\n\nTranslate Chinese pinyin to Japanese kana.\n\nMapping from pinyin to kana is based on the guideline [中国語音節表記ガイドライン 平凡社版](http://cn.heibonsha.co.jp/)\n\n```ruby\nPinyinToKana.pinyin_to_kana('xi jin ping')\n#=\u003e 'シージンピン'\n```\n\nYou can translate chinese hanzi to kana with [chinese_pinyin](https://github.com/flyerhzm/chinese_pinyin) gem:\n\n```ruby\nPinyin.t('習近平')\n#=\u003e \"xi jin ping\"\n\nPinyinToKana.pinyin_to_kana(Pinyin.t('習近平'))\n#=\u003e 'シージンピン'\n```\n\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'pinyin_to_kana'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install pinyin_to_kana\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuiur%2Fpinyin_to_kana","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuiur%2Fpinyin_to_kana","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuiur%2Fpinyin_to_kana/lists"}