Convert Hanyang-PUA code to unicode Hangul Jamo, i.e., Syllable-Initial-Peak-Final Encoding (첫가끝 코드).
Project description
Convert Hanyang-PUA code (U+E0BC~U+F8F7) to unicode Hangul Jamo (U+1100~U+11FF), i.e. Syllable-Initial-Peak-Final Encoding (첫가끝 코드).
Example
>>> from hypua2jamo import translate >>> pua = u'\ub098\ub78f\u302e\ub9d0\u302f\uebd4\ubbf8\u302e' >>> translate(pua) u'\ub098\ub78f\u302e\ub9d0\u302f\u110a\u119e\ubbf8\u302e' >>> print _ 나랏말ᄊ미 >>> translate(pua, composed=False) u'\ub098\ub78f\u302e\ub9d0\u302f\u1109\u1109\u119e\ubbf8\u302e' >>> print _ 나랏말ㅅㅅ미
Installation
from pypi:
pip install hypua2jamo
from github:
git clone git://github.com/mete0r/hypua2jamo.git cd hypua2jamo python bootstrap.py bin/buildout python data2py.py
Requirements
Python 2.7, Python 3.4
Documentation & Development
Documentation: http://hypua2jamo.readthedocs.org
Issue tracker: https://github.com/mete0r/hypua2jamo/issues
Bug reports, feedbacks and contributions are welcome!
Contributors
Maintainer: mete0r
License
Disclosure
This work is based on KTUG Hanyang PUA Table Project.
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
hypua2jamo-0.4.2.tar.gz
(694.5 kB
view hashes)
Built Distributions
hypua2jamo-0.4.2-cp34-cp34m-win32.whl
(766.5 kB
view hashes)
hypua2jamo-0.4.2-cp27-cp27m-win32.whl
(765.9 kB
view hashes)
Close
Hashes for hypua2jamo-0.4.2-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f5b104cb71a771652a0cd2539b09ead3b935a020694efc772d9ba16f8210c23 |
|
MD5 | 787957c758a3f66d1e4010c6baeeada0 |
|
BLAKE2b-256 | a06947ff9c8b7d6e4ac7dcc1e6ff541a7c56e6ad9d72cae53f418848ed4e4326 |
Close
Hashes for hypua2jamo-0.4.2-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e33a8888b52697818f154e2a9a35a3af7b1c2131b757b30402af11b4e7bc4e3 |
|
MD5 | 67fa20ee6d1ef8b220bdce95713f2a7a |
|
BLAKE2b-256 | 206eab32ae27e721f6c8198dfb8230e9d68b03ca152fb504457d8c3da82e11dd |