Skip to content

Commit

Permalink
Merge branch 'master' into dictionary-alias
Browse files Browse the repository at this point in the history
  • Loading branch information
khaitruong922 authored Aug 7, 2024
2 parents 00b088e + 9ef85b5 commit 9066cab
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 31 deletions.
57 changes: 29 additions & 28 deletions ext/js/language/ko/korean-transforms.js
Original file line number Diff line number Diff line change
Expand Up @@ -494,10 +494,10 @@ export const koreanTransforms = {
suffixInflection('ㅇㅡㄹ', '', [], ['p']),
],
},
'-(으)ㄹ거': {
'-(으)ㄹ거나': {
name: '-(으)ㄹ거나',
rules: [
suffixInflection('ㄹㄱㅓㄴㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㄹㄱㅓㄴㅏ', 'ㄷㅏ', [], ['v', 'adj', 'ida']),
suffixInflection('ㄹㄱㅓㄴㅏ', 'ㄹㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅡㄹㄱㅓㄴㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅜㄹㄱㅓㄴㅏ', 'ㅂㄷㅏ', [], ['v', 'adj']),
Expand Down Expand Up @@ -536,7 +536,7 @@ export const koreanTransforms = {
'-(으)ㄹ 거야': {
name: '-(으)ㄹ 거야',
rules: [
suffixInflection('ㄹ ㄱㅓㅇㅑ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㄹ ㄱㅓㅇㅑ', 'ㄷㅏ', [], ['v', 'adj', 'ida']),
suffixInflection('ㄹ ㄱㅓㅇㅑ', 'ㄹㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅡㄹ ㄱㅓㅇㅑ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅜㄹ ㄱㅓㅇㅑ', 'ㅂㄷㅏ', [], ['v', 'adj']),
Expand All @@ -548,7 +548,7 @@ export const koreanTransforms = {
'-(으)ㄹ 거예요': {
name: '-(으)ㄹ 거예요',
rules: [
suffixInflection('ㄹ ㄱㅓㅇㅖㅇㅛ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㄹ ㄱㅓㅇㅖㅇㅛ', 'ㄷㅏ', [], ['v', 'adj', 'ida']),
suffixInflection('ㄹ ㄱㅓㅇㅖㅇㅛ', 'ㄹㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅡㄹ ㄱㅓㅇㅖㅇㅛ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅜㄹ ㄱㅓㅇㅖㅇㅛ', 'ㅂㄷㅏ', [], ['v', 'adj']),
Expand All @@ -560,7 +560,7 @@ export const koreanTransforms = {
'-(으)ㄹ 것이다': {
name: '-(으)ㄹ 것이다',
rules: [
suffixInflection('ㄹ ㄱㅓㅅㅇㅣㄷㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㄹ ㄱㅓㅅㅇㅣㄷㅏ', 'ㄷㅏ', [], ['v', 'adj', 'ida']),
suffixInflection('ㄹ ㄱㅓㅅㅇㅣㄷㅏ', 'ㄹㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅡㄹ ㄱㅓㅅㅇㅣㄷㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅜㄹ ㄱㅓㅅㅇㅣㄷㅏ', 'ㅂㄷㅏ', [], ['v', 'adj']),
Expand All @@ -572,7 +572,7 @@ export const koreanTransforms = {
'-(으)ㄹ 것입니다': {
name: '-(으)ㄹ 것입니다',
rules: [
suffixInflection('ㄹ ㄱㅓㅅㅇㅣㅂㄴㅣㄷㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㄹ ㄱㅓㅅㅇㅣㅂㄴㅣㄷㅏ', 'ㄷㅏ', [], ['v', 'adj', 'ida']),
suffixInflection('ㄹ ㄱㅓㅅㅇㅣㅂㄴㅣㄷㅏ', 'ㄹㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅡㄹ ㄱㅓㅅㅇㅣㅂㄴㅣㄷㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅜㄹ ㄱㅓㅅㅇㅣㅂㄴㅣㄷㅏ', 'ㅂㄷㅏ', [], ['v', 'adj']),
Expand All @@ -584,7 +584,7 @@ export const koreanTransforms = {
'-(으)ㄹ 거다': {
name: '-(으)ㄹ 거다',
rules: [
suffixInflection('ㄹ ㄱㅓㄷㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㄹ ㄱㅓㄷㅏ', 'ㄷㅏ', [], ['v', 'adj', 'ida']),
suffixInflection('ㄹ ㄱㅓㄷㅏ', 'ㄹㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅡㄹ ㄱㅓㄷㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅜㄹ ㄱㅓㄷㅏ', 'ㅂㄷㅏ', [], ['v', 'adj']),
Expand All @@ -596,7 +596,7 @@ export const koreanTransforms = {
'-(으)ㄹ 겁니다': {
name: '-(으)ㄹ 겁니다',
rules: [
suffixInflection('ㄹ ㄱㅓㅂㄴㅣㄷㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㄹ ㄱㅓㅂㄴㅣㄷㅏ', 'ㄷㅏ', [], ['v', 'adj', 'ida']),
suffixInflection('ㄹ ㄱㅓㅂㄴㅣㄷㅏ', 'ㄹㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅡㄹ ㄱㅓㅂㄴㅣㄷㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅜㄹ ㄱㅓㅂㄴㅣㄷㅏ', 'ㅂㄷㅏ', [], ['v', 'adj']),
Expand All @@ -608,7 +608,7 @@ export const koreanTransforms = {
'-(으)ㄹ께': {
name: '-(으)ㄹ께',
rules: [
suffixInflection('ㄹㄲㅔ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㄹㄲㅔ', 'ㄷㅏ', [], ['v', 'adj', 'ida']),
suffixInflection('ㄹㄲㅔ', 'ㄹㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅡㄹㄲㅔ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅜㄹㄲㅔ', 'ㅂㄷㅏ', [], ['v', 'adj']),
Expand All @@ -620,7 +620,7 @@ export const koreanTransforms = {
'-(으)나': {
name: '-(으)나',
rules: [
suffixInflection('ㄴㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㄴㅏ', 'ㄷㅏ', [], ['v', 'adj', 'ida']),
suffixInflection('ㅇㅡㄴㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅜㄴㅏ', 'ㅂㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅡㄴㅏ', 'ㅅㄷㅏ', [], ['v', 'adj']),
Expand Down Expand Up @@ -848,7 +848,7 @@ export const koreanTransforms = {
'-는': {
name: '-는',
rules: [
suffixInflection('ㄴㅡㄴ', 'ㄷㅏ', [], ['v', 'ida']),
suffixInflection('ㄴㅡㄴ', 'ㄷㅏ', [], ['v']),
suffixInflection('ㄴㅡㄴ', 'ㄹㄷㅏ', [], ['v']),
suffixInflection('ㄴㅡㄴ', '', [], ['eusi', 'f']),
suffixInflection('ㅇㅓㅂㅅㄴㅡㄴ', '없다', [], ['adj']),
Expand All @@ -857,7 +857,7 @@ export const koreanTransforms = {
'-(으)ㄴ': {
name: '-(으)ㄴ',
rules: [
suffixInflection('ㄴ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㄴ', 'ㄷㅏ', [], ['v', 'adj', 'ida']),
suffixInflection('ㄴ', 'ㄹㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅡㄴ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅜㄴ', 'ㅂㄷㅏ', [], ['v', 'adj']),
Expand Down Expand Up @@ -3281,9 +3281,9 @@ export const koreanTransforms = {
suffixInflection('ㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅓ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅓ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅓ', 'ㄷㅏ', [], ['v', 'adj', 'ida']),
suffixInflection('ㅕ', 'ㅣㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅕ', 'ㅇㅣㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅕ', 'ㅇㅣㄷㅏ', [], ['v', 'adj', 'ida']),
suffixInflection('ㅎㅐ', 'ㅎㅏㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅎㅏㅇㅕ', 'ㅎㅏㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅗㅏ', 'ㅂㄷㅏ', [], ['v', 'adj']),
Expand Down Expand Up @@ -3313,9 +3313,9 @@ export const koreanTransforms = {
suffixInflection('ㅏㄷㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅓㄷㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅏㄷㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅓㄷㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅓㄷㅏ', 'ㄷㅏ', [], ['v', 'adj', 'ida']),
suffixInflection('ㅕㄷㅏ', 'ㅣㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅕㄷㅏ', 'ㅇㅣㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅕㄷㅏ', 'ㅇㅣㄷㅏ', [], ['v', 'adj', 'ida']),
suffixInflection('ㅎㅐㄷㅏ', 'ㅎㅏㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅎㅏㅇㅕㄷㅏ', 'ㅎㅏㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅗㅏㄷㅏ', 'ㅂㄷㅏ', [], ['v', 'adj']),
Expand Down Expand Up @@ -3345,12 +3345,12 @@ export const koreanTransforms = {
suffixInflection('ㅏㄷㅏㄱㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅓㄷㅏㄱㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅏㄷㅏㄱㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅓㄷㅏㄱㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅓㄷㅏㄱㅏ', 'ㄷㅏ', [], ['v', 'adj', 'ida']),
suffixInflection('ㄷㅏㄱㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅏㄷㅏㄱㅏ', 'ㅏㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅓㄷㅏㄱㅏ', 'ㅓㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅕㄷㅏㄱㅏ', 'ㅣㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅕㄷㅏㄱㅏ', 'ㅇㅣㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅕㄷㅏㄱㅏ', 'ㅇㅣㄷㅏ', [], ['v', 'adj', 'ida']),
suffixInflection('ㅎㅐㄷㅏㄱㅏ', 'ㅎㅏㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅎㅏㅇㅕㄷㅏㄱㅏ', 'ㅎㅏㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅗㅏㄷㅏㄱㅏ', 'ㅂㄷㅏ', [], ['v', 'adj']),
Expand Down Expand Up @@ -3380,12 +3380,12 @@ export const koreanTransforms = {
suffixInflection('ㅏㄷㅗ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅓㄷㅗ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅏㄷㅗ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅓㄷㅗ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅓㄷㅗ', 'ㄷㅏ', [], ['v', 'adj', 'ida']),
suffixInflection('ㅏㄷㅗ', 'ㅏㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅓㄷㅗ', 'ㅓㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㄷㅗ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅕㄷㅗ', 'ㅣㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅕㄷㅗ', 'ㅇㅣㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅕㄷㅗ', 'ㅇㅣㄷㅏ', [], ['v', 'adj', 'ida']),
suffixInflection('ㅎㅐㄷㅗ', 'ㅎㅏㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅎㅏㅇㅕㄷㅗ', 'ㅎㅏㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅗㅏㄷㅗ', 'ㅂㄷㅏ', [], ['v', 'adj']),
Expand Down Expand Up @@ -3415,12 +3415,12 @@ export const koreanTransforms = {
suffixInflection('ㅏㄹㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅓㄹㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅏㄹㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅓㄹㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅓㄹㅏ', 'ㄷㅏ', [], ['v', 'adj', 'ida']),
suffixInflection('ㅏㄹㅏ', 'ㅏㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅓㄹㅏ', 'ㅓㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㄹㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅕㄹㅏ', 'ㅣㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅕㄹㅏ', 'ㅇㅣㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅕㄹㅏ', 'ㅇㅣㄷㅏ', [], ['v', 'adj', 'ida']),
suffixInflection('ㅎㅐㄹㅏ', 'ㅎㅏㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅎㅏㅇㅕㄹㅏ', 'ㅎㅏㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅗㅏㄹㅏ', 'ㅂㄷㅏ', [], ['v', 'adj']),
Expand Down Expand Up @@ -3630,6 +3630,7 @@ export const koreanTransforms = {
suffixInflection('ㅇㅛ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅕㅇㅛ', 'ㅣㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅕㅇㅛ', 'ㅇㅣㄷㅏ', [], ['v', 'adj', 'ida']),
suffixInflection('ㅇㅖㅇㅛ', 'ㅇㅣㄷㅏ', [], ['adj', 'ida']),
suffixInflection('ㅎㅐㅇㅛ', 'ㅎㅏㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅎㅏㅇㅕㅇㅛ', 'ㅎㅏㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅗㅏㅇㅛ', 'ㅂㄷㅏ', [], ['v', 'adj']),
Expand Down Expand Up @@ -3660,11 +3661,11 @@ export const koreanTransforms = {
suffixInflection('ㅏㅈㅣㅇㅣㄷㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅓㅈㅣㅇㅣㄷㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅏㅈㅣㅇㅣㄷㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅓㅈㅣㅇㅣㄷㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅓㅈㅣㅇㅣㄷㅏ', 'ㄷㅏ', [], ['v', 'adj', 'ida']),
suffixInflection('ㅏㅈㅣㅇㅣㄷㅏ', 'ㅏㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅓㅈㅣㅇㅣㄷㅏ', 'ㅓㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅕㅈㅣㅇㅣㄷㅏ', 'ㅣㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅕㅈㅣㅇㅣㄷㅏ', 'ㅇㅣㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅕㅈㅣㅇㅣㄷㅏ', 'ㅇㅣㄷㅏ', [], ['v', 'adj', 'ida']),
suffixInflection('ㅎㅐㅈㅣㅇㅣㄷㅏ', 'ㅎㅏㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅎㅏㅇㅕㅈㅣㅇㅣㄷㅏ', 'ㅎㅏㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅗㅏㅈㅣㅇㅣㄷㅏ', 'ㅂㄷㅏ', [], ['v', 'adj']),
Expand Down Expand Up @@ -3766,10 +3767,10 @@ export const koreanTransforms = {
suffixInflection('ㅇㅏㅆㅇㅓㅆ', 'ㄷㅏ', ['p'], ['v', 'adj']),
suffixInflection('ㅏㅆㅇㅓㅆ', 'ㅏㄷㅏ', ['p'], ['v', 'adj']),
suffixInflection('ㅓㅆㅇㅓㅆ', 'ㄷㅏ', ['p'], ['v', 'adj']),
suffixInflection('ㅇㅓㅆㅇㅓㅆ', 'ㄷㅏ', ['p'], ['v', 'adj']),
suffixInflection('ㅇㅓㅆㅇㅓㅆ', 'ㄷㅏ', ['p'], ['v', 'adj', 'ida']),
suffixInflection('ㅓㅆㅇㅓㅆ', 'ㅓㄷㅏ', ['p'], ['v', 'adj']),
suffixInflection('ㅕㅆㅇㅓㅆ', 'ㅣㄷㅏ', ['p'], ['v', 'adj']),
suffixInflection('ㅇㅕㅆㅇㅓㅆ', 'ㅇㅣㄷㅏ', ['p'], ['v', 'adj']),
suffixInflection('ㅇㅕㅆㅇㅓㅆ', 'ㅇㅣㄷㅏ', ['p'], ['v', 'adj', 'ida']),
suffixInflection('ㅎㅐㅆㅇㅓㅆ', 'ㅎㅏㄷㅏ', ['p'], ['v', 'adj']),
suffixInflection('ㅎㅏㅇㅕㅆㅇㅓㅆ', 'ㅎㅏㄷㅏ', ['p'], ['v', 'adj']),
suffixInflection('ㅇㅗㅏㅆㅇㅓㅆ', 'ㅂㄷㅏ', ['p'], ['v', 'adj']),
Expand Down Expand Up @@ -3800,10 +3801,10 @@ export const koreanTransforms = {
suffixInflection('ㅇㅏㅆㅈㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅏㅆㅈㅏ', 'ㅏㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅓㅆㅈㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅓㅆㅈㅏ', 'ㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅓㅆㅈㅏ', 'ㄷㅏ', [], ['v', 'adj', 'ida']),
suffixInflection('ㅓㅆㅈㅏ', 'ㅓㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅕㅆㅈㅏ', 'ㅣㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅕㅆㅈㅏ', 'ㅇㅣㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅕㅆㅈㅏ', 'ㅇㅣㄷㅏ', [], ['v', 'adj', 'ida']),
suffixInflection('ㅎㅐㅆㅈㅏ', 'ㅎㅏㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅎㅏㅇㅕㅆㅈㅏ', 'ㅎㅏㄷㅏ', [], ['v', 'adj']),
suffixInflection('ㅇㅗㅏㅆㅈㅏ', 'ㅂㄷㅏ', [], ['v', 'adj']),
Expand Down
Loading

0 comments on commit 9066cab

Please sign in to comment.