Skip to content

Commit 008d1c5

Browse files
committed
PyKOMORAN Project README 추가
1 parent c57fa44 commit 008d1c5

File tree

2 files changed

+131
-4
lines changed

2 files changed

+131
-4
lines changed

README.en.md

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
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)

README.md

Lines changed: 66 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,67 @@
1-
### (WIP) PyKOMORAN
1+
# PyKOMORAN
22

3-
* Python에서 KOMORAN을 사용할 수 있는 PyKOMORAN이 현재 개발 중입니다.
4-
* 개발 중인 내용은 [development branch](https://github.com/komoran/PyKOMORAN/tree/development)에서 확인 가능합니다.
5-
* 필요한 기능이 있으신가요? [기능 추가 요청](https://github.com/komoran/PyKOMORAN/issues/new?template=FEATURE_REQUEST.md)을 남겨주세요!
3+
[한국어](README.md) | [English](README.en.md)
4+
5+
## 소개
6+
7+
* PyKOMORAN은 Python에서 한국어 형태소 분석기인 [KOMORAN](https://github.com/shin285/KOMORAN)을 사용할 수 있도록 하는 프로젝트입니다.
8+
* PyKOMORAN은 [Py4J](https://github.com/bartdag/py4j)를 이용하여 [KOMORAN Java Library](https://github.com/shin285/KOMORAN)를 실행합니다.
9+
* 사용 중 이슈나 질문이 있다면 [PyKOMORAN 프로젝트](https://github.com/komoran/PyKOMORAN/issues)에 이슈를 남겨주세요.
10+
11+
## 설치
12+
13+
### 필요사항
14+
15+
* PyKomoran을 이용하기 위해서는 다음의 요구사항이 설치되어 있어야 합니다.
16+
* Java 8 이상의 JDK 환경
17+
* [Py4J](https://www.py4j.org/install.html), 0.10.8 이상
18+
* `pip`를 이용하여 간편하게 설치(`pip install py4j`)하는 것을 권장합니다.
19+
20+
### 설치방법
21+
22+
* `pip`를 이용하여 PyKomoran을 설치할 수 있습니다.
23+
24+
```sh
25+
pip install PyKomoran
26+
```
27+
28+
* 또는, 소스코드를 다운로드받아 설치할 수 있습니다.
29+
30+
```sh
31+
git clone https://github.com/komoran/PyKOMORAN
32+
cp -r PyKOMORAN/python/PyKomoran [사용하실 PROJECT 위치]
33+
```
34+
35+
## 사용법
36+
37+
### 빠른 사용 방법
38+
39+
* 의존성을 불러온 후, KOMORAN 객체를 만듭니다.
40+
41+
```python
42+
from PyKomoran import *
43+
komoran = Komoran()
44+
```
45+
46+
* 분석 메소드를 이용하여 문장을 분석합니다.
47+
48+
```python
49+
komoran.get_plain_text("① 대한민국은 민주공화국이다.")
50+
# # 실행 결과
51+
# ①/SW 대한민국/NNP 은/JX 민주공화국/NNP 이/VCP 다/EF ./SF
52+
```
53+
54+
### 자세한 사용법
55+
56+
* 자세한 사용방법은 [KOMORAN 문서 사이트](https://docs.komoran.kr)을 확인해주시기 바랍니다.
57+
58+
## 라이선스
59+
60+
* PyKOMORAN은 KOMORAN과 동일한 Apache 2.0 라이선스로 배포됩니다.
61+
* 자세한 내용은 [LICENSE](LICENSE) 파일을 참고해주시기 바랍니다.
62+
63+
## 기여하기
64+
65+
* 소스 코드나 버그 리포트, 문서 내의 오타 수정 등 어떠한 기여도 환영합니다.
66+
* [Komoran Website](https://www.shineware.co.kr/products/komoran/#demo?utm_source=komoran-kr&utm_medium=Referral&utm_campaign=github-PyKomoran) 또는 [KOMORAN GitHub 페이지](https://github.com/komoran)를 참고해주세요!
67+
* 또는, 필요한 기능이나 제안이 있으신가요? [기능 추가 요청](https://github.com/komoran/PyKOMORAN/issues/new?template=FEATURE_REQUEST.md)을 남겨주세요!

0 commit comments

Comments
 (0)