Auto Korean conjugator/adjustor/adopter/converter
|LTS Haskell 20.16:||0.0.1.0|
|Stackage Nightly 2023-04-01:||0.0.1.0|
|Latest on Hackage:||0.0.1.0|
Module documentation for 0.0.1.0
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
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
When you give a text like “과자이(가) 두개입니다.” to
enigAuto "과자이(가) 두개입니다.", the function returns
- Managing Korean string which involves Korean particle.
- Managing English string which involves plural/singular form.
When you get error like
invalid argument or
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.
Changelog for ENIG
- Current version is just a proof of concept. This should be optimized.
- Enough test cases for
[0.0.1.0] – 2019-05-14
enigAutowhich takes just string(
Text) and process automatically. It returns just string(
[0.0.0.2] – 2019-03-16
- Could handle
- Add Haddock documentation comments
[0.0.0.1] – 2018-06-20
- Re-implement ENIG with features 2016 and 2018 only
- Re-implementing features 2017 is postponed
- Implement handy functions