|
| 1 | +# PyKOMORAN |
| 2 | + |
| 3 | +[한국어](README.md) | [English](README.en.md) |
| 4 | + |
| 5 | +## Introduction |
| 6 | + |
| 7 | +* PyKOMORAN is Python wrapper for [KOMORAN, KOrean MORphical ANalyzer](https://github.com/shin285/KOMORAN). |
| 8 | +* PyKOMORAN is using [Py4J](https://github.com/bartdag/py4j) for wrapping [KOMORAN Java library](https://github.com/shin285/KOMORAN). |
| 9 | +* If you have any issue or question, please leave an issue on [PyKOMORAN Project](https://github.com/komoran/PyKOMORAN/issues). |
| 10 | + |
| 11 | +## Installation |
| 12 | + |
| 13 | +### Requirements |
| 14 | + |
| 15 | +* To use PyKomoran, the following requirements must be installed |
| 16 | + * Java 8+ JDK Environment |
| 17 | + * [Py4J](https://www.py4j.org/install.html), 0.10.8 (or higher) |
| 18 | + * We recommend you to use `pip`, as `pip install py4j`. It's simple and easy. |
| 19 | + |
| 20 | +### How to install |
| 21 | + |
| 22 | +* You can install PyKomoran using `pip`. |
| 23 | + |
| 24 | + ```sh |
| 25 | + pip install PyKomoran |
| 26 | + ``` |
| 27 | + |
| 28 | +* Or, just clone this repository and copy for use. |
| 29 | + |
| 30 | + ```sh |
| 31 | + git clone https://github.com/komoran/PyKOMORAN |
| 32 | + cp -r PyKOMORAN/python/PyKomoran [DEST_LOCATION_TO_YOUR_PROJECT] |
| 33 | + |
| 34 | +## Usage |
| 35 | + |
| 36 | +### Quick start |
| 37 | + |
| 38 | +* After import dependencies, create a Komoran instance. |
| 39 | + |
| 40 | + ```python |
| 41 | + from PyKomoran import * |
| 42 | + komoran = Komoran() |
| 43 | + ``` |
| 44 | + |
| 45 | +* After then, run analyzing method. |
| 46 | + |
| 47 | + ```python |
| 48 | + komoran.get_plain_text("① 대한민국은 민주공화국이다.") |
| 49 | + # # Result |
| 50 | + # ①/SW 대한민국/NNP 은/JX 민주공화국/NNP 이/VCP 다/EF ./SF |
| 51 | + ``` |
| 52 | + |
| 53 | +### Usage in detail |
| 54 | + |
| 55 | +* Please refer [KOMORAN Document site](https://docs.komoran.kr) for more information. |
| 56 | + |
| 57 | +## License |
| 58 | + |
| 59 | +* PyKOMORAN is distributed with the Apache 2.0 license, same as [KOMORAN](https://github.com/shin285/KOMORAN). See `LICENSE` for more information. |
| 60 | + |
| 61 | +## Contributing |
| 62 | + |
| 63 | +* We're always happy to receive any contributions including code, bug reports and documentation fixes. |
| 64 | +* Please visit our [Website](https://www.shineware.co.kr/products/komoran/#demo?utm_source=komoran-kr&utm_medium=Referral&utm_campaign=github-PyKomoran) and/or [Project Organization at GitHub](https://github.com/komoran) for more information. |
| 65 | +* Or, if you have any necessary features or suggestion? Please leave your idea on [Request to add new feature](https://github.com/komoran/PyKOMORAN/issues/new?template=FEATURE_REQUEST.md) |
0 commit comments