PyKOMORAN Save

(Beta) PyKOMORAN is wrapped KOMORAN in Python using Py4J.

Project README

PyKOMORAN

PyPI PyPI - Python Version Downloads License

[한국어] | [English]

소개

  • PyKOMORAN은 Python에서 한국어 형태소 분석기인 KOMORAN을 사용할 수 있도록 하는 프로젝트입니다.
  • PyKOMORAN은 Py4J를 이용하여 KOMORAN Java Library를 실행합니다.
  • 사용 중 이슈나 질문이 있다면 PyKOMORAN 프로젝트에 이슈를 남겨주세요.

설치

필요사항

  • PyKomoran을 이용하기 위해서는 다음의 요구사항이 설치되어 있어야 합니다.
    • Java 8 이상의 JDK 환경
      • OracleJDK 또는 OpenJDK를 권장합니다.
    • Python 3.4 이상
      • Python 3.4 이상을 지원합니다.
    • Py4J, 0.10 이상
      • pip를 이용하여 PyKomoran 설치 시 함께 설치됩니다.

설치방법

  • pip를 이용하여 PyKomoran을 설치할 수 있습니다.
  pip install PyKomoran
  • 또는, 본 저장소를 다운로드받아 직접 설치할 수도 있습니다.
  git clone https://github.com/shineware/PyKOMORAN
  cd PyKOMORAN/python
  python setup.py install

사용

빠른 사용 방법

  • 의존성을 불러온 후, KOMORAN 객체를 만듭니다.
  from PyKomoran import *
  komoran = Komoran("STABLE")
  • 분석 메소드를 이용하여 문장을 분석합니다.
  komoran.get_plain_text("① 대한민국은 민주공화국이다.")
  # # 실행 결과
  # '①/SW 대한민국/NNP 은/JX 민주/NNP 공화국/NNG 이/VCP 다/EF ./SF'

자세한 사용법

인용

  • 다음 BibTeX를 이용하여 인용해주세요.

    @misc{komoran,
      author = {Junsoo Shin, Junghwan Park, Geunho Lee},
      title = {KOMORAN},
      publisher = {GitHub},
      journal = {GitHub repository},
      howpublished = {\url{https://github.com/shineware/PyKOMORAN}}
    }
    

라이선스

  • PyKOMORAN은 KOMORAN과 동일한 Apache 2.0 라이선스로 배포됩니다.
  • 자세한 내용은 LICENSE 파일을 참고해주시기 바랍니다.

기여

Open Source Agenda is not affiliated with "PyKOMORAN" Project. README Source: shineware/PyKOMORAN

Open Source Agenda Badge

Open Source Agenda Rating