pinyin 0.2.1

Translate Chinese chars to pinyin based on Mandarin.dat

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
MIT/X Consortium License 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Lx Yu
HOMEPAGE:
lxyu.github.com
CATEGORY:
ROOT \ Programming \ Localization
pinyin is a Python tool to translate Chinese chars to pinyin based on Mandarin.dat.

Usage

Input unicode string

>>> import pinyin
>>> pinyin.get_pinyin(u'你好')
'nihao'
>>> pinyin.get_initial(u'你好')
'n h'

Last updated on September 4th, 2012

requirements

#translate chars #Chinese chars #Chinese #chars #translate #Mandarin.dat

Add your review!

SUBMIT