Skip to main content

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


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.0.tar.gz (6.6 kB view hashes)

Uploaded Source

Built Distribution

qieyun_encoder-0.2.0-py3-none-any.whl (6.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page