From 8eea3661714c64857aa32a8662f7cca6674dd3a4 Mon Sep 17 00:00:00 2001 From: Lyroxide <33834537+Lyroxide@users.noreply.github.com> Date: Sun, 9 Jun 2024 15:12:46 +0800 Subject: [ko] Fix irregular ㄴ deinflection (#1010) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix * resolve conflict --------- Signed-off-by: Lyroxide <33834537+Lyroxide@users.noreply.github.com> --- ext/js/language/ko/korean-transforms.js | 56 +++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) (limited to 'ext/js') diff --git a/ext/js/language/ko/korean-transforms.js b/ext/js/language/ko/korean-transforms.js index 4cee4e3f..24c310f6 100644 --- a/ext/js/language/ko/korean-transforms.js +++ b/ext/js/language/ko/korean-transforms.js @@ -858,6 +858,10 @@ export const koreanTransforms = { suffixInflection('ㄴ', 'ㄷㅏ', [], ['v', 'adj']), suffixInflection('ㄴ', 'ㄹㄷㅏ', [], ['v', 'adj']), suffixInflection('ㅇㅡㄴ', 'ㄷㅏ', [], ['v', 'adj']), + suffixInflection('ㅇㅜㄴ', 'ㅂㄷㅏ', [], ['v', 'adj']), + suffixInflection('ㅇㅡㄴ', 'ㅅㄷㅏ', [], ['v', 'adj']), + suffixInflection('ㄴ', 'ㅎㄷㅏ', [], ['adj']), + suffixInflection('ㄹㅇㅡㄴ', 'ㄷㄷㅏ', [], ['v', 'adj']), suffixInflection('ㄴ', '', [], ['eusi', 'f']), ], }, @@ -869,6 +873,10 @@ export const koreanTransforms = { suffixInflection('ㄴㅡㄴㄱㅏ', 'ㄷㅏ', [], ['v']), suffixInflection('ㅇㅡㄴㄱㅏ', 'ㄷㅏ', [], ['adj']), suffixInflection('ㅇㅡㄴㄱㅏ', 'ㄹㄷㅏ', [], ['adj']), + suffixInflection('ㅇㅜㄴㄱㅏ', 'ㅂㄷㅏ', [], ['adj']), + suffixInflection('ㅇㅡㄴㄱㅏ', 'ㅅㄷㅏ', [], ['adj']), + suffixInflection('ㄴㄱㅏ', 'ㅎㄷㅏ', [], ['adj']), + suffixInflection('ㄹㅇㅡㄴㄱㅏ', 'ㄷㄷㅏ', [], ['adj']), suffixInflection('ㄴㄱㅏ', '', [], ['eusi']), suffixInflection('ㄴㅡㄴㄱㅏ', '', [], ['p', 'f', 'eusi']), suffixInflection('ㅇㅓㅂㅅㄴㅡㄴㄱㅏ', '없다', [], []), @@ -882,6 +890,10 @@ export const koreanTransforms = { suffixInflection('ㄴㅡㄴㄱㅏㅁ', 'ㄷㅏ', [], ['v']), suffixInflection('ㅇㅡㄴㄱㅏㅁ', 'ㄷㅏ', [], ['adj']), suffixInflection('ㅇㅡㄴㄱㅏㅁ', 'ㄹㄷㅏ', [], ['adj']), + suffixInflection('ㅇㅜㄴㄱㅏㅁ', 'ㅂㄷㅏ', [], ['adj']), + suffixInflection('ㅇㅡㄴㄱㅏㅁ', 'ㅅㄷㅏ', [], ['adj']), + suffixInflection('ㄴㄱㅏㅁ', 'ㅎㄷㅏ', [], ['adj']), + suffixInflection('ㄹㅇㅡㄴㄱㅏㅁ', 'ㄷㄷㅏ', [], ['adj']), suffixInflection('ㄴㄱㅏㅁ', '', [], ['eusi']), suffixInflection('ㄴㅡㄴㄱㅏㅁ', '', [], ['p', 'f', 'eusi']), suffixInflection('ㅇㅓㅂㅅㄴㅡㄴㄱㅏㅁ', '없다', [], []), @@ -895,6 +907,10 @@ export const koreanTransforms = { suffixInflection('ㄴㅡㄴㄱㅓㄹ', 'ㄷㅏ', [], ['v']), suffixInflection('ㅇㅡㄴㄱㅓㄹ', 'ㄷㅏ', [], ['v', 'adj']), suffixInflection('ㅇㅡㄴㄱㅓㄹ', 'ㄹㄷㅏ', [], ['v', 'adj']), + suffixInflection('ㅇㅜㄴㄱㅓㄹ', 'ㅂㄷㅏ', [], ['v', 'adj']), + suffixInflection('ㅇㅡㄴㄱㅓㄹ', 'ㅅㄷㅏ', [], ['v', 'adj']), + suffixInflection('ㄴㄱㅓㄹ', 'ㅎㄷㅏ', [], ['adj']), + suffixInflection('ㄹㅇㅡㄴㄱㅓㄹ', 'ㄷㄷㅏ', [], ['v', 'adj']), suffixInflection('ㄴㄱㅓㄹ', '', [], ['eusi']), suffixInflection('ㄴㅡㄴㄱㅓㄹ', '', [], ['p', 'f', 'eusi']), suffixInflection('ㅇㅓㅂㅅㄴㅡㄴㄱㅓㄹ', '없다', [], []), @@ -908,6 +924,10 @@ export const koreanTransforms = { suffixInflection('ㄴㅡㄴㄱㅗ', 'ㄷㅏ', [], ['v']), suffixInflection('ㅇㅡㄴㄱㅗ', 'ㄷㅏ', [], ['adj']), suffixInflection('ㅇㅡㄴㄱㅗ', 'ㄹㄷㅏ', [], ['adj']), + suffixInflection('ㅇㅜㄴㄱㅗ', 'ㅂㄷㅏ', [], ['adj']), + suffixInflection('ㅇㅡㄴㄱㅗ', 'ㅅㄷㅏ', [], ['adj']), + suffixInflection('ㄴㄱㅗ', 'ㅎㄷㅏ', [], ['adj']), + suffixInflection('ㄹㅇㅡㄴㄱㅗ', 'ㄷㄷㅏ', [], ['adj']), suffixInflection('ㄴㄱㅗ', '', [], ['eusi']), suffixInflection('ㄴㅡㄴㄱㅗ', '', [], ['p', 'f', 'eusi']), suffixInflection('ㅇㅓㅂㅅㄴㅡㄴㄱㅗ', '없다', [], []), @@ -1251,6 +1271,10 @@ export const koreanTransforms = { suffixInflection('ㄴㄷㅔ', 'ㄹㄷㅏ', [], ['adj']), suffixInflection('ㄴㅡㄴㄷㅔ', 'ㄷㅏ', [], ['v']), suffixInflection('ㅇㅡㄴㄷㅔ', 'ㄷㅏ', [], ['adj']), + suffixInflection('ㅇㅜㄴㄷㅔ', 'ㅂㄷㅏ', [], ['adj']), + suffixInflection('ㅇㅡㄴㄷㅔ', 'ㅅㄷㅏ', [], ['adj']), + suffixInflection('ㄴㄷㅔ', 'ㅎㄷㅏ', [], ['adj']), + suffixInflection('ㄹㅇㅡㄴㄷㅔ', 'ㄷㄷㅏ', [], ['adj']), suffixInflection('ㄴㄷㅔ', '', [], ['eusi', 'sao']), suffixInflection('ㄴㅡㄴㄷㅔ', '', [], ['p', 'f', 'eusi']), suffixInflection('ㅇㅣㅆㄴㅡㄴㄷㅔ', '있다', [], []), @@ -1264,6 +1288,10 @@ export const koreanTransforms = { suffixInflection('ㄴㄷㅔㅂㅅㅛ', 'ㄹㄷㅏ', [], ['v']), suffixInflection('ㄴㅡㄴㄷㅔㅂㅅㅛ', 'ㄷㅏ', [], ['v']), suffixInflection('ㅇㅡㄴㄷㅔㅂㅅㅛ', 'ㄷㅏ', [], ['adj']), + suffixInflection('ㅇㅜㄴㄷㅔㅂㅅㅛ', 'ㅂㄷㅏ', [], ['adj']), + suffixInflection('ㅇㅡㄴㄷㅔㅂㅅㅛ', 'ㅅㄷㅏ', [], ['adj']), + suffixInflection('ㄴㄷㅔㅂㅅㅛ', 'ㅎㄷㅏ', [], ['adj']), + suffixInflection('ㄹㅇㅡㄴㄷㅔㅂㅅㅛ', 'ㄷㄷㅏ', [], ['adj']), suffixInflection('ㄴㄷㅔㅂㅅㅛ', '', [], ['eusi']), suffixInflection('ㄴㅡㄴㄷㅔㅂㅅㅛ', '', [], ['p', 'f', 'eusi']), suffixInflection('ㅇㅣㅆㄴㅡㄴㄷㅔㅂㅅㅛ', '', [], []), @@ -1283,6 +1311,10 @@ export const koreanTransforms = { suffixInflection('ㄴㅂㅏ', 'ㄹㄷㅏ', [], ['v', 'adj']), suffixInflection('ㄴㅡㄴㅂㅏ', 'ㄷㅏ', [], ['v']), suffixInflection('ㅇㅡㄴㅂㅏ', 'ㄷㅏ', [], ['v', 'adj']), + suffixInflection('ㅇㅜㄴㅂㅏ', 'ㅂㄷㅏ', [], ['v', 'adj']), + suffixInflection('ㅇㅡㄴㅂㅏ', 'ㅅㄷㅏ', [], ['v', 'adj']), + suffixInflection('ㄴㅂㅏ', 'ㅎㄷㅏ', [], ['adj']), + suffixInflection('ㄹㅇㅡㄴㅂㅏ', 'ㄷㄷㅏ', [], ['v', 'adj']), suffixInflection('ㄴㅂㅏ', '', [], ['eusi']), suffixInflection('ㄴㅡㄴㅂㅏ', '', [], ['p', 'f', 'eusi']), suffixInflection('ㅇㅡㄴㅂㅏ', '', [], ['eusi']), @@ -1297,6 +1329,10 @@ export const koreanTransforms = { suffixInflection('ㄴㅈㅣ', 'ㄹㄷㅏ', [], ['adj']), suffixInflection('ㄴㅡㄴㅈㅣ', 'ㄷㅏ', [], ['v']), suffixInflection('ㅇㅡㄴㅈㅣ', 'ㄷㅏ', [], ['adj']), + suffixInflection('ㅇㅜㄴㅈㅣ', 'ㅂㄷㅏ', [], ['adj']), + suffixInflection('ㅇㅡㄴㅈㅣ', 'ㅅㄷㅏ', [], ['adj']), + suffixInflection('ㄴㅈㅣ', 'ㅎㄷㅏ', [], ['adj']), + suffixInflection('ㄹㅇㅡㄴㅈㅣ', 'ㄷㄷㅏ', [], ['adj']), suffixInflection('ㄴㅈㅣ', '', [], ['eusi']), suffixInflection('ㄴㅡㄴㅈㅣ', '', [], ['p', 'f', 'eusi']), suffixInflection('ㅇㅣㅆㄴㅡㄴㅈㅣ', '있다', [], []), @@ -1310,6 +1346,10 @@ export const koreanTransforms = { suffixInflection('ㄴㅈㅣㄱㅗ', 'ㄹㄷㅏ', [], ['v', 'adj']), suffixInflection('ㄴㅡㄴㅈㅣㄱㅗ', 'ㄷㅏ', [], ['v']), suffixInflection('ㅇㅡㄴㅈㅣㄱㅗ', 'ㄷㅏ', [], ['v', 'adj']), + suffixInflection('ㅇㅜㄴㅈㅣㄱㅗ', 'ㅂㄷㅏ', [], ['v', 'adj']), + suffixInflection('ㅇㅡㄴㅈㅣㄱㅗ', 'ㅅㄷㅏ', [], ['v', 'adj']), + suffixInflection('ㄴㅈㅣㄱㅗ', 'ㅎㄷㅏ', [], ['adj']), + suffixInflection('ㄹㅇㅡㄴㅈㅣㄱㅗ', 'ㄷㄷㅏ', [], ['v', 'adj']), suffixInflection('ㄴㅈㅣㄱㅗ', '', [], ['eusi']), suffixInflection('ㄴㅡㄴㅈㅣㄱㅗ', '', [], ['p', 'f', 'eusi']), suffixInflection('ㅇㅣㅆㄴㅡㄴㅈㅣㄱㅗ', '있다', [], []), @@ -1323,6 +1363,10 @@ export const koreanTransforms = { suffixInflection('ㄴㅈㅣㄹㅏ', 'ㄹㄷㅏ', [], ['v', 'adj']), suffixInflection('ㄴㅡㄴㅈㅣㄹㅏ', 'ㄷㅏ', [], ['v']), suffixInflection('ㅇㅡㄴㅈㅣㄹㅏ', 'ㄷㅏ', [], ['v', 'adj']), + suffixInflection('ㅇㅜㄴㅈㅣㄹㅏ', 'ㅂㄷㅏ', [], ['v', 'adj']), + suffixInflection('ㅇㅡㄴㅈㅣㄹㅏ', 'ㅅㄷㅏ', [], ['v', 'adj']), + suffixInflection('ㄴㅈㅣㄹㅏ', 'ㅎㄷㅏ', [], ['adj']), + suffixInflection('ㄹㅇㅡㄴㅈㅣㄹㅏ', 'ㄷㄷㅏ', [], ['v', 'adj']), suffixInflection('ㄴㅈㅣㄹㅏ', '', [], ['eusi']), suffixInflection('ㄴㅡㄴㅈㅣㄹㅏ', '', [], ['p', 'f', 'eusi']), suffixInflection('ㅇㅣㅆㄴㅡㄴㅈㅣㄹㅏ', '있다', [], []), @@ -1405,6 +1449,10 @@ export const koreanTransforms = { suffixInflection('ㄴㅣㄹㅏ', 'ㄹㄷㅏ', [], ['adj']), suffixInflection('ㄴㅡㄴㅣㄹㅏ', 'ㄷㅏ', [], ['v', 'adj']), suffixInflection('ㅇㅡㄴㅣㄹㅏ', 'ㄷㅏ', [], ['adj']), + suffixInflection('ㅇㅜㄴㅣㄹㅏ', 'ㅂㄷㅏ', [], ['adj']), + suffixInflection('ㅇㅡㄴㅣㄹㅏ', 'ㅅㄷㅏ', [], ['adj']), + suffixInflection('ㄴㅣㄹㅏ', 'ㅎㄷㅏ', [], ['adj']), + suffixInflection('ㄹㅇㅡㄴㅣㄹㅏ', 'ㄷㄷㅏ', [], ['adj']), suffixInflection('ㄴㅣㄹㅏ', '', [], ['eusi']), suffixInflection('ㅇㅡㄴㅣㄹㅏ', '', [], ['p', 'f', 'eusi']), ], @@ -1416,6 +1464,10 @@ export const koreanTransforms = { suffixInflection('ㄴㅣㅁㅏㄴㅊㅣ', 'ㄹㄷㅏ', [], ['v', 'adj']), suffixInflection('ㄴㅡㄴㅣㅁㅏㄴㅊㅣ', 'ㄷㅏ', [], ['v', 'adj']), suffixInflection('ㅇㅡㄴㅣㅁㅏㄴㅊㅣ', 'ㄷㅏ', [], ['v', 'adj']), + suffixInflection('ㅇㅜㄴㅣㅁㅏㄴㅊㅣ', 'ㅂㄷㅏ', [], ['v', 'adj']), + suffixInflection('ㅇㅡㄴㅣㅁㅏㄴㅊㅣ', 'ㅅㄷㅏ', [], ['v', 'adj']), + suffixInflection('ㄴㅣㅁㅏㄴㅊㅣ', 'ㅎㄷㅏ', [], ['adj']), + suffixInflection('ㄹㅇㅡㄴㅣㅁㅏㄴㅊㅣ', 'ㄷㄷㅏ', [], ['v', 'adj']), suffixInflection('ㄴㅣㅁㅏㄴㅊㅣ', '', [], ['eusi']), suffixInflection('ㄴㅡㄴㅣㅁㅏㄴㅊㅣ', '', [], ['eusi']), suffixInflection('ㅇㅡㄴㅣㅁㅏㄴㅊㅣ', '', [], ['p', 'f']), @@ -1428,6 +1480,10 @@ export const koreanTransforms = { suffixInflection('ㄴㅣㅁㅏㄴㅋㅡㅁ', 'ㄹㄷㅏ', [], ['v', 'adj']), suffixInflection('ㄴㅡㄴㅣㅁㅏㄴㅋㅡㅁ', 'ㄷㅏ', [], ['v', 'adj']), suffixInflection('ㅇㅡㄴㅣㅁㅏㄴㅋㅡㅁ', 'ㄷㅏ', [], ['v', 'adj']), + suffixInflection('ㅇㅜㄴㅣㅁㅏㄴㅋㅡㅁ', 'ㅂㄷㅏ', [], ['v', 'adj']), + suffixInflection('ㅇㅡㄴㅣㅁㅏㄴㅋㅡㅁ', 'ㅅㄷㅏ', [], ['v', 'adj']), + suffixInflection('ㄴㅣㅁㅏㄴㅋㅡㅁ', 'ㅎㄷㅏ', [], ['adj']), + suffixInflection('ㄹㅇㅡㄴㅣㅁㅏㄴㅋㅡㅁ', 'ㄷㄷㅏ', [], ['v', 'adj']), suffixInflection('ㄴㅣㅁㅏㄴㅋㅡㅁ', '', [], ['eusi']), suffixInflection('ㄴㅡㄴㅣㅁㅏㄴㅋㅡㅁ', '', [], ['eusi']), suffixInflection('ㅇㅡㄴㅣㅁㅏㄴㅋㅡㅁ', '', [], ['p', 'f']), -- cgit v1.2.3