BSD-3-Clause licensed by YongJoon Joe
Maintained by [email protected]
This version can be pinned in stack with:ENIG-0.0.1.0@sha256:cd5698f90dc58f61e6b3a73b87e492db30a00bcc9c8758ecc26f588449297ca5,1756

Module documentation for 0.0.1.0

ENIG

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

enigPPP

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

Korean

  • Managing Korean string which involves Korean particle.

English

  • 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.

Changes

Changelog for ENIG

[Unreleased]

  • Optimized enigAuto
    • Current version is just a proof of concept. This should be optimized.
    • Use Builder
  • Enough test cases for enigAuto

[0.0.1.0] – 2019-05-14

Added

  • Add enigAuto which takes just string(Text) and process automatically. It returns just string(Text)

[0.0.0.2] – 2019-03-16

Changed

  • Could handle 아/야 and 으/null

Added

  • Add Haddock documentation comments

[0.0.0.1] – 2018-06-20

Changed

  • Use unicode-transforms instead of text-icu

Added

  • Re-implement ENIG with features 2016 and 2018 only
    • Re-implementing features 2017 is postponed
  • Implement handy functions