hypua2jamo 0.2

Convert Hanyang-PUA code to unicode Hangul Jamo

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
LGPL v3 (GNU Lesser General Public Lic... 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
mete0r
HOMEPAGE:
github.com
CATEGORY:
ROOT \ Programming \ Internationalization
hypua2jamo is a Python module to 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

Documentation & Development

- Documentation: http://hypua2jamo.readthedocs.org
- GitHub: https://github.com/mete0r/hypua2jamo
- Issue tracker: https://github.com/mete0r/hypua2jamo/issues
- Bug reports, feedbacks and contributions are welcome!

Disclosure

This work is based on KTUG Hanyang PUA Table Project.

Last updated on September 9th, 2012

requirements

#Hanyang-PUA converter #Hangul Jamo #Unicode converter #Python #Hanyang-PUA #Unicode #converter

Add your review!

SUBMIT