{ "info": { "author": "Chang-Hung Liang", "author_email": "eliang.cs@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Text Processing", "Topic :: Text Processing :: Filters" ], "description": "BiSheng\n=======\n\n.. image:: https://badge.fury.io/py/bisheng.png\n :target: http://badge.fury.io/py/bisheng\n\n.. image:: https://travis-ci.org/eliangcs/bisheng.png?branch=master\n :target: https://travis-ci.org/eliangcs/bisheng\n\n.. image:: https://coveralls.io/repos/eliangcs/bisheng/badge.png?branch=master\n :target: https://coveralls.io/r/eliangcs/bisheng\n\nA set of utility functions for processing Chinese text. Current features\ninclude:\n\n* Add spaces between Chinese/Japanese/Korean characters and halfwidth\n characters\n\n* Convert traditional Chinese to simplified Chinese and the other way around\n\n\nInstallation\n------------\n::\n\n $ pip install bisheng\n\n\nUsage\n-----\n\nAdd spaces between Chinese characters and halfwidth characters::\n\n >>> import bisheng\n >>> print bisheng.add_spaces(u'BiSheng\u7531Python\u5beb\u6210\uff0c\u540d\u5b57\u6e90\u81ea1000\u591a\u5e74\u524d\u7684\u6d3b\u5b57\u5370\u5237\u8853\u767c\u660e\u4eba-\u7562\u6607\u3002')\n BiSheng \u7531 Python \u5beb\u6210\uff0c\u540d\u5b57\u6e90\u81ea 1000 \u591a\u5e74\u524d\u7684\u6d3b\u5b57\u5370\u5237\u8853\u767c\u660e\u4eba - \u7562\u6607\u3002\n\nSpecify the characters you want to exclude::\n\n >>> print bisheng.add_spaces(u'\u4e2d[\u62ec]\u5f27')\n \u4e2d [\u62ec] \u5b64\n\n >>> print bisheng.add_spaces(u'\u4e2d[\u62ec]\u5f27', exclude='[]')\n \u4e2d[\u62ec]\u5f27\n\nTraditional/simplified Chinese convertion::\n\n >>> print bisheng.to_simp(u'\u7562\u6607')\n \u6bd5\u5347\n\n >>> print bisheng.to_trad(u'\u6bd5\u5347')\n \u7562\u5347", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/eliangcs/bisheng", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "bisheng", "package_url": "https://pypi.org/project/bisheng/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/bisheng/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/eliangcs/bisheng" }, "release_url": "https://pypi.org/project/bisheng/0.10.0/", "requires_dist": null, "requires_python": null, "summary": "A set of utility functions for processing Chinese text.", "version": "0.10.0" }, "last_serial": 1045340, "releases": { "0.10.0": [ { "comment_text": "", "digests": { "md5": "ad5f152514068efb0c998fe2df425624", "sha256": "d53cc62fac8b191fe19e0b88417a0ff325fe40f127baf6f21696d9f29ef07d66" }, "downloads": -1, "filename": "bisheng-0.10.0.tar.gz", "has_sig": false, "md5_digest": "ad5f152514068efb0c998fe2df425624", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33114, "upload_time": "2014-03-29T14:40:01", "url": "https://files.pythonhosted.org/packages/15/aa/aafb896086ed7249dc82a33597462339318fe35fceaea1b262a21b34b0d6/bisheng-0.10.0.tar.gz" } ], "0.9.0": [ { "comment_text": "", "digests": { "md5": "bae0ad4d6b4666f4c898dd27f19c2af2", "sha256": "98a4cdeba84abc3baeb729e6757278ba0a7cd101da2f158bb3e42326c594dcc9" }, "downloads": -1, "filename": "bisheng-0.9.0.tar.gz", "has_sig": false, "md5_digest": "bae0ad4d6b4666f4c898dd27f19c2af2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3429, "upload_time": "2012-09-29T05:24:26", "url": "https://files.pythonhosted.org/packages/1c/f4/5aa3086886160ba4aeb55e8b0665094393d69d19117d61baccf34cc4b0d0/bisheng-0.9.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ad5f152514068efb0c998fe2df425624", "sha256": "d53cc62fac8b191fe19e0b88417a0ff325fe40f127baf6f21696d9f29ef07d66" }, "downloads": -1, "filename": "bisheng-0.10.0.tar.gz", "has_sig": false, "md5_digest": "ad5f152514068efb0c998fe2df425624", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33114, "upload_time": "2014-03-29T14:40:01", "url": "https://files.pythonhosted.org/packages/15/aa/aafb896086ed7249dc82a33597462339318fe35fceaea1b262a21b34b0d6/bisheng-0.10.0.tar.gz" } ] }