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.2.tar.gz
(125.4 kB
view details)
File details
Details for the file pinyin-0.1.2.tar.gz
.
File metadata
- Download URL: pinyin-0.1.2.tar.gz
- Upload date:
- Size: 125.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e8440fe2123752604441a20bf2fcfc458d4cad17a2e4d505030410e2ccd06d8 |
|
MD5 | 4a90cf993fc7025fb307c6431c5bca1e |
|
BLAKE2b-256 | b6ac65a3ee54a065029e0a0682f18b591dfd2990b1a1ff613eaf52b0f109dd7b |