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("ㄲㅜㄱ")
>> "꾹"
```
한글 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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
Close
Hashes for han2jamo-0.0.1a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56c805538ffee54ce83af376ab559fe8391b181ca373c6fd932c971ed533d503 |
|
MD5 | 8ffdcde3ed3bed97b7ef834eb7d67183 |
|
BLAKE2b-256 | dd137013ec9c40b25aea0a56df72a64bf7f3f1c8d1af5be27937cd0cf837f166 |