Metadata-Version: 2.0
Name: wubi
Version: 0.0.2
Summary: Translate chinese chars to wubi
Home-page: https://github.com/arcsecw/wubi
Author: arcsecw
Author-email: tob-wang@qq.com
License: BSD
Platform: UNKNOWN
Classifier: Topic :: Software Development
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy

wubi
======


Translate chinese chars to pinyin based on Mandarin.dat

Install
-------

.. code:: bash

    $ pip install wubi

Usage
-----

.. code:: python

    >>> import wubi
    >>> print wubi.get('王文超，爱自由。','cw')
    gggg yygy fhv , ep thd mh .

    >>> print wubi.get('你好', format="strip", delimiter=" ")
    王文超，爱自由。


License
-------

`wubi` is free software, under an MIT-style license. See LICENSE for details.

The data file for translations is the CC-BY-SA 3.0.

The translations are from the CC-CE-DICT project (https://cc-cedict.org/wiki/), by Denisowski, Peterson, Brelsford, and others.


