baruda-0.1.3
توضیحات
Fix and normalize Korean Jamo typos
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | baruda-0.1.3 |
| نام | baruda |
| نسخه کتابخانه | 0.1.3 |
| نگهدارنده | ['Wooin(Dan) Lee'] |
| ایمیل نگهدارنده | ['naubull2@gmail.com'] |
| نویسنده | naubull2 |
| ایمیل نویسنده | naubull2@gmail.com |
| آدرس صفحه اصلی | https://github.com/naubull2/baruda |
| آدرس اینترنتی | https://pypi.org/project/baruda/ |
| مجوز | BSD3 |
# Baruda
[](https://github.com/naubull2/baruda/actions?query=workflow%3A%22Python+package%22)
[](README.ko.md)
"Baruda"("바루다") is a pure Korean word that means "fix or correct things"
- [Namu Wiki: List of pure Korean words](https://namu.wiki/w/%EC%88%9C%EC%9A%B0%EB%A6%AC%EB%A7%90/%EB%AA%A9%EB%A1%9D)
## Setup
- Source install
```
python setup.py install
```
- PYPI install
```
pip install baruda
```
## Usage
- **jamofix()** : Fix Hangul Jamo-level typos and synthesize broken Hangul syllables.
> ex. "ㅇㅣㄱㅓ 진짴ㅋㅋ ㄷㅚ욬ㅋ" -> "이거 진짜ㅋㅋㅋ 되요ㅋ"
```python
from baruda import jamofix
s = "ㅇㅣㄱㅓ 진짴ㅋㅋ ㄷㅚ욬ㅋ"
print(jamofix(s))
# >>> "이거 진짜ㅋㅋㅋ 되요ㅋ"
```
## Reference
- [JDongian/jamo](https://github.com/JDongian/python-jamo): Used for faster jamo decomposition.
## Version 0.1.3
Released Apr 5 2020.
Add special case of Jungseong handling. ('ㅜ', 'ㅠ', 'ㅗ')
## Version 0.1.0
Released Mar 29 2020.
The initial release.
نیازمندی
| مقدار | نام |
|---|---|
| >=0.4.1 | jamo |
نحوه نصب
نصب پکیج whl baruda-0.1.3:
pip install baruda-0.1.3.whl
نصب پکیج tar.gz baruda-0.1.3:
pip install baruda-0.1.3.tar.gz