Korean Romanization/Hangulization utility written in python
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
MANIFEST
README.md
krt.py
setup.py

README.md

krtpy

Korean Romanization/Hangulization utility written in python

Installation

$ python setup.py install

Usage

from krt import *

# To hangulize text in the utf8 format:
hangulize('chen')

# To romanize text in the utf8 format:
romanize('')

# To hangulize text into a different output format:
hangulize('chen', 'euc-kr')

# To romanize text in different input/output formats:
romanize(raw='',fromEncoding='euc-kr',toEncoding='utf8')