Skip to main content
Help us improve Python packaging – donate today!

simple converter that converts hangul to english and vise versa

Project Description

heconvert is simple converter that convert hangul to english and vise-versa

Requirements

  • python 3

Installation

heconvert should be installed using pip3:

pip3 install heconvert

Use heconvert

  1. Hangul –> English:

    from heconv.converter import h2e
    
    h2e('사랑합니다')  # return 'tkfkdgkqslek'
    
  2. English –> Hangul:

    from heconv.converter import h2e
    
    e2h('tkfkdgkqslek')  # return '사랑합니다'
    

# Continuous Converting:

from heconv.converter import HangulToEnglishConverter, EnglishToHangulConverter

# Hangul --> English
h2e_builder = HangulToEnglishConverter()
h2e_builder.update('한영타')  # just update internal state
h2e_builder.convert()  # return 'gksdudxk'
h2e_builder.update('변환기', convert=True)  # return 'gksdudxkqusghksrl'

# English --> Hangul
e2h_builder = EnglishToHangulConverter()
e2h_builder.update('gksdudxk')  # just update internal state
e2h_builder.convert()  # return '한영타'
e2h_builder.update('qusghksrl', convert=True)  # return '한영타변환기'

Bug tracker

If you have any suggestions or bug reports, please report them to the issue tracker at https://github.com/makerj/heconvert/issues

Contributing

Contribution of heconvert available at github: https://github.com/makerj/heconvert To start a support for a new keyboard layout, use manage.py to create a new module directory structure (for more information, run manage.py with ‘–help’ argument)

License

Licensed under The Apache License (Apache).

Release history Release notifications

This version
History Node

1.0.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
heconvert-1.0.0.zip (20.4 kB) Copy SHA256 hash SHA256 Source None Jul 18, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page