Translate chinese chars to pinyin based on Mandarin.dat
Project description
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'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pinyin-0.1.1.tar.gz
(125.1 kB
view details)
File details
Details for the file pinyin-0.1.1.tar.gz
.
File metadata
- Download URL: pinyin-0.1.1.tar.gz
- Upload date:
- Size: 125.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24a89814c5f3dce284adb8f44fb449c2e6a2ba2282a7e1c02716a62330a8e4e4 |
|
MD5 | 5f46e714f21c7448fa64bca633012ac8 |
|
BLAKE2b-256 | 536c41d1b79e2b1625a671697f93317d3afa590d13121284adaef47bc4107559 |