Skip to content

Convert Hanyang-PUA code (U+E0BC~U+F8F7) to unicode Hangul Jamo (U+1100~U+11FF), i.e. Syllable-Initial-Peak-Final Encoding (첫가끝 코드).

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

mete0r/hypua2jamo

Repository files navigation

hypua2jamo

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'ub098ub78fu302eub9d0u302fuebd4ubbf8u302e' >>> translate(pua) u'ub098ub78fu302eub9d0u302fu110au119eubbf8u302e' >>> print(_) 나랏말ᄊ미 >>> translate(pua, composed=False) u'ub098ub78fu302eub9d0u302fu1109u1109u119eubbf8u302e' >>> print(_) 나랏말ㅅㅅ미

Installation

from PyPI:

pip install hypua2jamo

Supported Python versions

  • Python 2.7
  • Python 3.7 or above.

Documentation & Development

Hacking

Currently, development and maintenance is taking place in the Debian stable version environment. Following debian packages are required:

sudo apt install python3.9 python3.9-dev python3.9-venv
sudp apt install python2.7 python2.7-dev
sudo apt install make build-essential cmake

To bootstrap development environment, run following commands in the project root directory:

python3.9 -m venv venv
. venv/bin/activate
pip install --upgrade setuptools pip pip-tools
make update-requirements
make test

Contributors

Maintainer: mete0r

License

image

GNU Lesser General Public License Version 3 (text version)

Disclosure

This work is based on KTUG Hanyang PUA Table Project.

About

Convert Hanyang-PUA code (U+E0BC~U+F8F7) to unicode Hangul Jamo (U+1100~U+11FF), i.e. Syllable-Initial-Peak-Final Encoding (첫가끝 코드).

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

Stars

Watchers

Forks

Packages

No packages published