Pre-release
This release is a pre-release and may not be stable for production use.
# 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("ㄲㅜㄱ")
>> "꾹"
```
Metadata
Release files for han2jamo 0.0.1a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| han2jamo-0.0.1a0.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| han2jamo-0.0.1a0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.3 kB
Release files / han2jamo-0.0.1a0.tar.gz
| Download URL | han2jamo-0.0.1a0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e6b1a0c1c34e8151f802a559d950982cda032ae030a527b93f1356bc9ddbee0b
|
|
BLAKE2b-256 checksum How to use checksums |
7d79eb9e925c8844a37b4be1a3f5150b279ffca2d031b2ba502c43af7561b4a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / han2jamo-0.0.1a0-py3-none-any.whl
| Download URL | han2jamo-0.0.1a0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
56c805538ffee54ce83af376ab559fe8391b181ca373c6fd932c971ed533d503
|
|
BLAKE2b-256 checksum How to use checksums |
dd137013ec9c40b25aea0a56df72a64bf7f3f1c8d1af5be27937cd0cf837f166
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|