Fastest Hangle To Jamo Library
Project description
# Han2Jamo
한글 to 자모로 바꿔주는 가장 빠르고 편리한 라이브러리
[](https://circleci.com/gh/kor2vec/kor2vec)
[](https://github.com/kor2vec/kor2vec/blob/master/LICENSE)
[]()
[]()
[](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 자모로 바꿔주는 가장 빠르고 편리한 라이브러리
[](https://circleci.com/gh/kor2vec/kor2vec)
[](https://github.com/kor2vec/kor2vec/blob/master/LICENSE)
[]()
[]()
[](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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6b1a0c1c34e8151f802a559d950982cda032ae030a527b93f1356bc9ddbee0b
|
|
| MD5 |
4efc33c1dd2a89c437c73e77c65abe6c
|
|
| BLAKE2b-256 |
7d79eb9e925c8844a37b4be1a3f5150b279ffca2d031b2ba502c43af7561b4a4
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56c805538ffee54ce83af376ab559fe8391b181ca373c6fd932c971ed533d503
|
|
| MD5 |
8ffdcde3ed3bed97b7ef834eb7d67183
|
|
| BLAKE2b-256 |
dd137013ec9c40b25aea0a56df72a64bf7f3f1c8d1af5be27937cd0cf837f166
|