Skip to main content

Fastest Hangle To Jamo Library

Project description

# Han2Jamo

한글 to 자모로 바꿔주는 가장 빠르고 편리한 라이브러리

[![CircleCI](https://circleci.com/gh/codertimo/han2jamo.svg?style=shield)](https://circleci.com/gh/kor2vec/kor2vec)
[![LICENSE](https://img.shields.io/github/license/codertimo/han2jamo.svg)](https://github.com/kor2vec/kor2vec/blob/master/LICENSE)
[![PyPI - Status](https://img.shields.io/pypi/status/han2jamo.svg)]()
[![PyPI](https://img.shields.io/pypi/v/han2jamo.svg)]()
[![GitHub stars](https://img.shields.io/github/stars/codertimo/han2jamo.svg)](https://github.com/kor2vec/kor2vec/stargazers)




## Installation

```
pip install han2jamo
```

## Usage

```python3
hand2jamo = Han2Jamo()

# 한글문장 -> 자모 : str
han2jamo.str_to_jamo("안녕 내 이름은 뽀로로야")
>> "ㅇㅏㄴㄴㅕㅇ ㄴㅐ ㅇㅣㄹㅡㅁㅇㅡㄴ ㅃㅗㄹㅗㄹㅗㅇㅑ"

# 자모 -> 한글문장 복원
hand2jamo.jamo_to_str("ㅇㅏㄴㄴㅕㅇ ㄴㅐ ㅇㅣㄹㅡㅁㅇㅡㄴ ㅃㅗㄹㅗㄹㅗㅇㅑ")
>> "안녕 내 이름은 뽀로로야"

# 한글 한글자 -> 자모
hand2jamo.char_to_jamo("꾹")
>> ("ㄲ", "ㅜ", "ㄱ")

## 자모 -> 한글 한글자 복원
hand2jamo.jamo_to_char("ㄲㅜㄱ")
>> "꾹"

```

Project details


Download files

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

Source Distribution

han2jamo-0.0.1a0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

han2jamo-0.0.1a0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file han2jamo-0.0.1a0.tar.gz.

File metadata

  • Download URL: han2jamo-0.0.1a0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.1

File hashes

Hashes for han2jamo-0.0.1a0.tar.gz
Algorithm Hash digest
SHA256 e6b1a0c1c34e8151f802a559d950982cda032ae030a527b93f1356bc9ddbee0b
MD5 4efc33c1dd2a89c437c73e77c65abe6c
BLAKE2b-256 7d79eb9e925c8844a37b4be1a3f5150b279ffca2d031b2ba502c43af7561b4a4

See more details on using hashes here.

File details

Details for the file han2jamo-0.0.1a0-py3-none-any.whl.

File metadata

  • Download URL: han2jamo-0.0.1a0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.1

File hashes

Hashes for han2jamo-0.0.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 56c805538ffee54ce83af376ab559fe8391b181ca373c6fd932c971ed533d503
MD5 8ffdcde3ed3bed97b7ef834eb7d67183
BLAKE2b-256 dd137013ec9c40b25aea0a56df72a64bf7f3f1c8d1af5be27937cd0cf837f166

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page