From 761c30f943b8807976e1de3781a4bdfe248f8652 Mon Sep 17 00:00:00 2001 From: Lanius Trolling Date: Sun, 3 Sep 2023 08:21:43 -0400 Subject: [PATCH] Improve Pokhwalish language --- src/main/kotlin/info/mechyrdia/lore/languages.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/kotlin/info/mechyrdia/lore/languages.kt b/src/main/kotlin/info/mechyrdia/lore/languages.kt index 1e4d6a4..f4e8edd 100644 --- a/src/main/kotlin/info/mechyrdia/lore/languages.kt +++ b/src/main/kotlin/info/mechyrdia/lore/languages.kt @@ -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", -- 2.25.1