Convert a phonological position of the Qieyun phonological system to the three-character phonological encoding and the phonological description
Project description
qieyun-encoder
Convert a phonological position of the Qieyun phonological system to the three-character phonological encoding and the phonological description.
Note: this package is only intended for developers.
Install
$ pip install qieyun-encoder
Usage
>>> import QieyunEncoder
>>> QieyunEncoder.to編碼('端', None, '一', None, '東', '平')
'EAA'
>>> QieyunEncoder.from編碼('EAA')
('端', None, '一', None, '東', '平')
>>> QieyunEncoder.to描述('端', None, '一', None, '東', '平')
'端一東平'
>>> QieyunEncoder.from描述('端一東平')
('端', None, '一', None, '東', '平')
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
qieyun-encoder-0.2.1.tar.gz
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for qieyun_encoder-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14c1bb6027f8d45100fcff1ad2adcd76d90905a92aecc79163fe03dea17f8999 |
|
MD5 | a5aff9d332645073162fc2904e440546 |
|
BLAKE2b-256 | aeb782fc01cc4ba48202d1946cee5e8f855425537b012b7e51add6ede4413c09 |