ENIG: Auto Korean conjugator/adjustor/adopter/converter

[ bsd3, library, natural-language-processing ] [ Propose Tags ]

Please see the README on GitHub at https://github.com/QuietJoon/ENIG#readme

[Skip to Readme]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS],
Change log ChangeLog.md
Dependencies base (>=4.7 && <5), text, unicode-transforms, vector [details]
License BSD-3-Clause
Copyright 2016-2019 YongJoon Joe
Author YongJoon Joe
Maintainer developer+ENIG@quietjoon.net
Category Natural Language Processing
Home page https://github.com/QuietJoon/ENIG#readme
Bug tracker https://github.com/QuietJoon/ENIG/issues
Source repo head: git clone https://github.com/QuietJoon/ENIG
Uploaded by yongjoon at 2019-05-14T13:48:08Z
Distributions LTSHaskell:, NixOS:, Stackage:
Downloads 1432 total (15 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for ENIG-

[back to package description]


ENIG is an acronym of typical Korean particles "Eun Neun I Ga (은는이가)". Korean postposition particles change their form depending on the pronounciation of the previous consonant. However, in trouble, because figuring out the previous consonant is not an easy problem. Therefore, most of the programmers who handle Korean treat Korean by starting with "SOMETHING은(는) ~~". This seems to be awkward in a sentence like "SOMETHING is(are), Two apple(s)."

ENIG focuses on programmers to handle Korean strings.

How to use

Core functions


You can get proper Korean particle by giving enigPPP post word and a Korean postposition particle category `

Handy functions (Not yet implemented)

You can use ENIG without any integration on your code by enigAuto. When you give a text like "과자이(가) 두개입니다." to enigAuto like enigAuto "과자이(가) 두개입니다.", the function returns "과자가 두개입니다."

Long-range Plans


  • Managing Korean string which involves Korean particle.


  • Managing English string which involves plural/singular form.

Known Issues

When you get error like invalid argument or invalid character

When you get a message during test the library like invalid argument or invalid character, check your language configuration.

This is not program error.

Because of this library handling Hangul itself, the test code should contains Korean characters. Therefore, You should set your shell's encoding by chcp 65001 for Windows or export LC_ALL=en_US.UTF-8 for *nix platforms.