Improve Pokhwalish language
authorLanius Trolling <lanius@laniustrolling.dev>
Sun, 3 Sep 2023 12:21:43 +0000 (08:21 -0400)
committerLanius Trolling <lanius@laniustrolling.dev>
Sun, 3 Sep 2023 12:21:43 +0000 (08:21 -0400)
src/main/kotlin/info/mechyrdia/lore/languages.kt

index 1e4d6a40ddd88a05b4bff4cfe74260da9f6228b4..f4e8edd8bf53d82279bc134c7dcb834ffa11f878 100644 (file)
@@ -106,6 +106,8 @@ object PokhwalishAlphabet {
                Regex("au") to "O",
                Regex("oo") to "O",
                Regex("ou") to "U",
+               Regex("ue") to "U",
+               Regex("ui") to "U",
                Regex("uu") to "U",
                // Consonants
                Regex("tz") to "C",
@@ -113,6 +115,7 @@ object PokhwalishAlphabet {
                Regex("kh") to "K",
                Regex("gh") to "G",
                Regex("ng(?![aeiouAEIOU])") to "N",
+               Regex("ng([aeiouAEIOU])") to "Ng$1",
                Regex("n'g") to "ng",
                Regex("qh") to "Q",
                Regex("th") to "T",