CLI to conjugate Korean verbs
npm run build
npm run conjugate -- [ -v verb | verb ] [options]
If you are using Linux or Git Bash terminal, you can create an alias:
# Dont forget to change /path/to
echo alias conjugate=\'npm run conjugate --prefix=/path/to/korean-conjugator --silent --\' >> ~/.bashrc
source ~/.bashrc
Then, use
conjugate [ -v verb | verb ] [options]
Option | Default | Allowed values | Description |
---|---|---|---|
-v , --verb , [verb] |
Verb to conjugate | ||
-t , --tense |
present |
past ,present |
Tense to use |
-p , --politeness |
informalPolite |
formalPolite ,informalPolite ,informalCasual |
Politeness level to use |
Korean Conjugator is under development, and may not handle some special cases or irregular verbs. If this is this the case, do not hesitate to open an issue. Here is an explicit of what Korean Conjugator currently handles:
past
/present
tenseformal polite
/informal polite
/informal casual
politeness levels하다
verbs- Regular verbs
- Following irregulars are tested:
Rule | Status | Count | List |
---|---|---|---|
ㅂ |
Implemented |
24 | 돕다, 곱다, 가볍다, 고맙다, 눕다, 굽다, 귀엽다, 깁다, 까다롭다, 더럽다, 덥다, 두렵다, 맵다, 무겁다, 밉다, 반갑다, 부럽다, 아름답다, 어둡다, 어렵다, 쉽다, 줍다,즐겁다, 춥다 |
ㄷ |
Implemented |
5 | 듣다, 걷다, 깨닫다, 묻다, 싣다 |
ㅅ |
Implemented |
6 | 낫다, 짓다, 긋다, 잇다, 붓다, 젓다 |
ㅎ |
Implemented |
7 | 노랗다, 빨갛다, 까맣다, 파갛다, 그렇다, 어떻다, 하얗다 |
ㄹ |
In progress |
20 | 가르다, 고르다, 구르다, 기르다, 나르다, 누르다, 다르다, 두르다, 마르다, 모르다, 바르다, 부르다, 빠르다, 서두르다, 오르다, 이르다, 자르다, 저지르다, 찌르다, 흐르다 |
르 |
In progress |
11 | 길다, 놀다, 들다, 만들다, 만들다, 살다, 알다, 열다, 울다, 팔다, 힘들다 |
으 |
In progress |
13 | 고프다, 아프다, 슬프다, 바쁘다, 나쁘다, 예쁘다, 기쁘다, 애쓰다, 쓰다, 끄다, 뜨다, 크다, 모으다 |
Uniques |
In progress |
3 | 이다, 되다, 따르다 |
source: https://www.koreanwikiproject.com/wiki/Category:Irregular_verbs
You can find design documentation here.
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!