Skip to main content

OpenKorPOS-dic packaged for Python

Project description

openkorpos-dic-py

This is a version of OpenKorPOS-dic packaged for use in Python with pymecab-ko.

OpenKorPOS-dic is developed by Sangwhan Moon, Won Ik Cho, Hyejoo Han, Naoaki Okazaki, and Nam Soo Kim for a comparison target of a new method claimed in their paper

Usage

To install:

pip install openkorpos-dic

To initialize with pymecab-ko:

>>> import mecab_ko as MeCab
>>> import openkorpos_dic
>>> tagger = MeCab.Tagger(openkorpos_dic.MECAB_ARGS)
>>> print(tagger.parse("아버지가방에들어가신다"))

아버지  NNG,*,F,아버지,*,*,*,*
      JKS,*,F,,*,*,*,*
      NNG,*,T,,*,*,*,*
      JKB,*,F,,*,*,*,*
들어가  VV,*,F,들어가,*,*,*,*
신다    EP+EF+VCP,*,F,신다,Inflect,EP,VCP,/EP/*+ᆫ다/EF/*+/VCP/*
EOS

Version

  • 08/31/2022:
    The version of the original dictionary is not defined yet.
    Therefore, I defined the version like the version of other mecab compatible dictionaries. And I added the commit hash id of the original repository to make it distinguishable.
    >>> openkorpos_dic.VERSION
    '1.0.0-20220620-c72cb7d'
    

License

OpenKorPOS-dic is available under the GPL-2.0 license, see here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openkorpos-dic-1.0.0.tar.gz (32.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openkorpos_dic-1.0.0-py3-none-any.whl (33.0 MB view details)

Uploaded Python 3

File details

Details for the file openkorpos-dic-1.0.0.tar.gz.

File metadata

  • Download URL: openkorpos-dic-1.0.0.tar.gz
  • Upload date:
  • Size: 32.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for openkorpos-dic-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8b0588b0a9a84c455bbaa7d358f98753152f96887fadfbb5e9b73665ab9563b5
MD5 33e7ae1afb73b4993c5a5c575b6ea476
BLAKE2b-256 76a940dced5278e05620c66b69126b83096f05d25f55551009fdedc7f8417ec5

See more details on using hashes here.

File details

Details for the file openkorpos_dic-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: openkorpos_dic-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 33.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for openkorpos_dic-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 131ec2a0dad9e65c1f964908868c75af6a5c94638bb7a518f1083a530d2ccd87
MD5 ea1f3d1485199bd2374a0a55353dc3e7
BLAKE2b-256 7116a0eb7377114210f14bc8f6edd530ee987c9b4fa95abc3d195a4131f68b84

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page