From b885ba1f6a7f2c60df47cb206da8790a8801e3a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hora=C8=9Biu=20Mlendea?= Date: Thu, 23 Nov 2023 14:48:29 +0200 Subject: [PATCH 1/8] korean: Improved transliteration for Korean --- .../Service/Transliterators/KoreanTransliterator.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs b/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs index 8637a78..a9769df 100644 --- a/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs +++ b/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs @@ -15,6 +15,7 @@ public KoreanTransliterator() { transliterationTable = new Dictionary() { + // Hangul { "가", "ga" }, { "강", "gang" }, { "거", "geo" }, @@ -47,6 +48,7 @@ public KoreanTransliterator() { "수", "su" }, { "순", "sun" }, { "시", "si" }, + { "신", "sin" }, { "안", "an" }, { "양", "yang" }, { "여", "yeo" }, @@ -82,6 +84,9 @@ public KoreanTransliterator() { "홍", "hong" }, { "화", "hwa" }, { "흥", "heung" }, + + // Hanja + { "룽", "lung" }, }; } From 04bfdaab5d2f121eb32976019493e4d800b38880 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hora=C8=9Biu=20Mlendea?= Date: Thu, 23 Nov 2023 15:03:29 +0200 Subject: [PATCH 2/8] korean: Improved --- .../Service/Transliterators/KoreanTransliterator.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs b/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs index a9769df..dd1830b 100644 --- a/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs +++ b/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs @@ -28,11 +28,13 @@ public KoreanTransliterator() { "김", "gim" }, { "나", "na" }, { "남", "nam" }, + { "니", "ni" }, { "닝", "ning" }, { "대", "dae" }, { "동", "dong" }, { "랏", "lat" }, { "령", "ryeong" }, + { "롱", "long" }, { "르", "re" }, { "리", "ri" }, { "명", "myeong" }, @@ -50,6 +52,7 @@ public KoreanTransliterator() { "시", "si" }, { "신", "sin" }, { "안", "an" }, + { "얀", "yan" }, { "양", "yang" }, { "여", "yeo" }, { "영", "yeong" }, From 0fc4627db058d957c7a30f9c0bbf2009756b0f05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hora=C8=9Biu=20Mlendea?= Date: Thu, 23 Nov 2023 15:30:15 +0200 Subject: [PATCH 3/8] korean: Improvement --- .../Service/Transliterators/KoreanTransliterator.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs b/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs index dd1830b..f85405c 100644 --- a/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs +++ b/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs @@ -28,6 +28,7 @@ public KoreanTransliterator() { "김", "gim" }, { "나", "na" }, { "남", "nam" }, + { "냐", "nya" }, { "니", "ni" }, { "닝", "ning" }, { "대", "dae" }, @@ -37,7 +38,9 @@ public KoreanTransliterator() { "롱", "long" }, { "르", "re" }, { "리", "ri" }, + { "린", "rin" }, { "명", "myeong" }, + { "모", "mo" }, { "목", "mok" }, { "미", "mi" }, { "보", "bo" }, @@ -56,9 +59,13 @@ public KoreanTransliterator() { "양", "yang" }, { "여", "yeo" }, { "영", "yeong" }, + { "예", "ye" }, { "오", "o" }, { "용", "yong" }, + { "우", "u" }, + { "운", "un" }, { "울", "ul" }, + { "웅", "ung" }, { "원", "won" }, { "의", "ui" }, { "이", "i" }, @@ -68,6 +75,8 @@ public KoreanTransliterator() { "정", "jeong" }, { "제", "je" }, { "주", "ju" }, + { "즈", "jeu" }, + { "지", "ji" }, { "진", "jin" }, { "창", "chang" }, { "천", "cheon" }, From 81a4d734c2b66ab66951f7bab0e22aa03b9961ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hora=C8=9Biu=20Mlendea?= Date: Thu, 23 Nov 2023 18:05:33 +0200 Subject: [PATCH 4/8] korean: Improvement --- .../Service/Transliterators/KoreanTransliterator.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs b/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs index f85405c..22ae33c 100644 --- a/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs +++ b/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs @@ -52,11 +52,13 @@ public KoreanTransliterator() { "속", "sok" }, { "수", "su" }, { "순", "sun" }, + { "스", "seu" }, { "시", "si" }, { "신", "sin" }, { "안", "an" }, { "얀", "yan" }, { "양", "yang" }, + { "에", "e" }, { "여", "yeo" }, { "영", "yeong" }, { "예", "ye" }, @@ -85,7 +87,10 @@ public KoreanTransliterator() { "춘", "chun" }, { "충", "chung" }, { "케", "ke" }, + { "쿠", "ku" }, + { "크", "keu" }, { "택", "taek" }, + { "펜", "pen" }, { "평", "pyeong" }, { "포", "po" }, { "푸", "pu" }, From c59173a210a732e3508dbd3588e9cebbdfb98ce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hora=C8=9Biu=20Mlendea?= Date: Thu, 23 Nov 2023 20:08:11 +0200 Subject: [PATCH 5/8] korean: Support more characters --- .../Service/Transliterators/KoreanTransliterator.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs b/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs index 22ae33c..c06fca3 100644 --- a/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs +++ b/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs @@ -46,6 +46,7 @@ public KoreanTransliterator() { "보", "bo" }, { "부", "bu" }, { "비", "bi" }, + { "사", "sa" }, { "산", "san" }, { "서", "seo" }, { "성", "seong" }, @@ -80,6 +81,7 @@ public KoreanTransliterator() { "즈", "jeu" }, { "지", "ji" }, { "진", "jin" }, + { "차", "cha" }, { "창", "chang" }, { "천", "cheon" }, { "청", "cheong" }, @@ -87,8 +89,10 @@ public KoreanTransliterator() { "춘", "chun" }, { "충", "chung" }, { "케", "ke" }, + { "콘", "kon" }, { "쿠", "ku" }, { "크", "keu" }, + { "탄", "tan" }, { "택", "taek" }, { "펜", "pen" }, { "평", "pyeong" }, From 643017b5229f91386107f18ee5fdd7160d4b0e07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hora=C8=9Biu=20Mlendea?= Date: Thu, 23 Nov 2023 21:05:26 +0200 Subject: [PATCH 6/8] korean: Support more chars --- .../Service/Transliterators/KoreanTransliterator.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs b/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs index c06fca3..947d321 100644 --- a/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs +++ b/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs @@ -31,6 +31,7 @@ public KoreanTransliterator() { "냐", "nya" }, { "니", "ni" }, { "닝", "ning" }, + { "담", "dam" }, { "대", "dae" }, { "동", "dong" }, { "랏", "lat" }, @@ -50,12 +51,14 @@ public KoreanTransliterator() { "산", "san" }, { "서", "seo" }, { "성", "seong" }, + { "소", "so" }, { "속", "sok" }, { "수", "su" }, { "순", "sun" }, { "스", "seu" }, { "시", "si" }, { "신", "sin" }, + { "아", "a" }, { "안", "an" }, { "얀", "yan" }, { "양", "yang" }, @@ -92,6 +95,9 @@ public KoreanTransliterator() { "콘", "kon" }, { "쿠", "ku" }, { "크", "keu" }, + { "클", "keul" }, + { "키", "ki" }, + { "타", "ta" }, { "탄", "tan" }, { "택", "taek" }, { "펜", "pen" }, From 166ef266053226437f4243304d3663d33b469300 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hora=C8=9Biu=20Mlendea?= Date: Tue, 28 Nov 2023 22:41:48 +0200 Subject: [PATCH 7/8] korean: Improvements --- .../Transliterators/KoreanTransliterator.cs | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs b/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs index 947d321..1dbd8be 100644 --- a/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs +++ b/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs @@ -19,6 +19,7 @@ public KoreanTransliterator() { "가", "ga" }, { "강", "gang" }, { "거", "geo" }, + { "게", "ge" }, { "경", "gyeong" }, { "고", "go" }, { "광", "gwang" }, @@ -29,14 +30,20 @@ public KoreanTransliterator() { "나", "na" }, { "남", "nam" }, { "냐", "nya" }, + { "네", "ne" }, { "니", "ni" }, { "닝", "ning" }, { "담", "dam" }, { "대", "dae" }, { "동", "dong" }, + { "드", "deu" }, + { "라", "ra" }, { "랏", "lat" }, + { "레", "re" }, { "령", "ryeong" }, + { "로", "lo" }, // or ro { "롱", "long" }, + { "루", "ru" }, { "르", "re" }, { "리", "ri" }, { "린", "rin" }, @@ -44,11 +51,15 @@ public KoreanTransliterator() { "모", "mo" }, { "목", "mok" }, { "미", "mi" }, + { "바", "ba" }, + { "벨", "bel" }, { "보", "bo" }, + { "볼", "bol" }, { "부", "bu" }, { "비", "bi" }, { "사", "sa" }, { "산", "san" }, + { "샤", "sha" }, { "서", "seo" }, { "성", "seong" }, { "소", "so" }, @@ -91,6 +102,8 @@ public KoreanTransliterator() { "초", "cho" }, { "춘", "chun" }, { "충", "chung" }, + { "츠", "cheu" }, + { "카", "ka" }, { "케", "ke" }, { "콘", "kon" }, { "쿠", "ku" }, @@ -100,17 +113,21 @@ public KoreanTransliterator() { "타", "ta" }, { "탄", "tan" }, { "택", "taek" }, + { "토", "to" }, + { "톨", "tol" }, { "펜", "pen" }, { "평", "pyeong" }, { "포", "po" }, + { "폴", "pol" }, { "푸", "pu" }, + { "플", "p" }, { "하", "ha" }, { "항", "hang" }, { "해", "hae" }, + { "헤", "he" }, { "현", "hyeon" }, { "홍", "hong" }, { "화", "hwa" }, - { "흥", "heung" }, // Hanja { "룽", "lung" }, From 659f5b0331a94a77c4e1fb1b8a62a39f3024b9c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hora=C8=9Biu=20Mlendea?= Date: Tue, 28 Nov 2023 22:43:42 +0200 Subject: [PATCH 8/8] korean: Fix --- .../Service/Transliterators/KoreanTransliterator.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs b/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs index 1dbd8be..460ae0d 100644 --- a/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs +++ b/TransliterationAPI/Service/Transliterators/KoreanTransliterator.cs @@ -128,6 +128,7 @@ public KoreanTransliterator() { "현", "hyeon" }, { "홍", "hong" }, { "화", "hwa" }, + { "흥", "heung" }, // Hanja { "룽", "lung" },