{ "info": { "author": "Robert Camba", "author_email": "rcamba@users.noreply.github.com", "bugtrack_url": null, "classifiers": [], "description": "Kanji\\_to\\_Romaji\n=================\n\n| Formerly kana\\_to\\_romaji\n| *Tries* to translate Kanji to Romaji with the help of `JMdict`_\n| Some typograhic characters are also translated since one of the\n original goals was to make the string printable in ascii\n\nInstallation\n------------\n\n| ``pip install kanji_to_romaji``\n| or if pip is not available:\n| ``git clone https://github.com/rcamba/kanji_to_romaji``\n| ``install.bat``\n\n\nUsage\n-----\n\n``ktr.py`` is a script included to be used in the command line provided\nyou have your python\u2019s script folder in your environment variables\n\n| > ktr.py \u53cb\u9054\u306b\u4f1a\u3044\u307e\u3057\u305f\n| tomodachi ni aimashita\n\n| Although Windows cmd doesn\u2019t seem to natively support unicode\n characters so you can use unicode escaped strings if you\u2019d like\u2026\n| > ktr.py \\\\u53cb\\\\u9054\\\\u306b\\\\u4f1a\\\\u3044\\\\u307e\\\\u3057\\\\u305f\n| tomodachi ni aimashita\n\nThe more common usage will probably to be used in another program:\n\n::\n\n from kanji_to_romaji import kanji_to_romaji\n print kanji_to_romaji(u\"\u53cb\u9054\u306b\u4f1a\u3044\u307e\u3057\u305f\")\n\nArgument must be in unicode\n\nMore examples\n-------------\n\n| \u79c1\u306f\u5b09: watashi wa ureshii\n| \u66f4\u306b\u5411\u3053\u3046\u3078: sarani mukou e\n| \u53cb\u9054\u306b\u4f1a\u3044\u307e\u3057\u305f: tomodachi ni aimashita\n| \u8eca\u306b\u306f\u4e00\u4eba\u5206\u306e\u7a7a\u304d\u304c\u3042\u3063\u305f: kuruma ni wa hitoribun no aki ga atta\n| bl\u221edy\u2606: bl dy\n| \u4e77: \\\\u4e77 (not in Kanji unicode range)\n\n| See ``tests\\test_kanji.py`` for more examples\n| **Note**: The particles \u306f (ha/wa) or \u3078 (he/e) won\u2019t always be\n translated properly. Same goes for some of the Kanji translations\n since there are multiple possible readings for some of them depending\n on the context.\n\n.. _JMdict: http://www.edrdg.org/jmdict/edict_doc.html", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rcamba/kanji_to_romaji", "keywords": null, "license": "Mozilla Public License Version 2.0", "maintainer": null, "maintainer_email": null, "name": "Kanji_to_Romaji", "package_url": "https://pypi.org/project/Kanji_to_Romaji/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Kanji_to_Romaji/", "project_urls": { "Homepage": "https://github.com/rcamba/kanji_to_romaji" }, "release_url": "https://pypi.org/project/Kanji_to_Romaji/1.0.0/", "requires_dist": null, "requires_python": null, "summary": "Try to translate Kanji to Romaji.", "version": "1.0.0" }, "last_serial": 2927882, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "05b2e5e90381a463fbfb739a91b9ddd4", "sha256": "6d347244daf9eb233d8add3ff112edab508ebc56dacd9fb1490ca8da868f5a52" }, "downloads": -1, "filename": "Kanji_to_Romaji-1.0.0.zip", "has_sig": false, "md5_digest": "05b2e5e90381a463fbfb739a91b9ddd4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2530087, "upload_time": "2017-06-05T23:27:01", "url": "https://files.pythonhosted.org/packages/07/f5/6b0fc8db2dc66b9a442aa5f20be170a443a720543531ad643e1b973fc395/Kanji_to_Romaji-1.0.0.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "05b2e5e90381a463fbfb739a91b9ddd4", "sha256": "6d347244daf9eb233d8add3ff112edab508ebc56dacd9fb1490ca8da868f5a52" }, "downloads": -1, "filename": "Kanji_to_Romaji-1.0.0.zip", "has_sig": false, "md5_digest": "05b2e5e90381a463fbfb739a91b9ddd4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2530087, "upload_time": "2017-06-05T23:27:01", "url": "https://files.pythonhosted.org/packages/07/f5/6b0fc8db2dc66b9a442aa5f20be170a443a720543531ad643e1b973fc395/Kanji_to_Romaji-1.0.0.zip" } ] }