Add small word-final forms for M, N, R, S, and T
authorLanius Trolling <lanius@laniustrolling.dev>
Thu, 18 Aug 2022 12:06:25 +0000 (08:06 -0400)
committerLanius Trolling <lanius@laniustrolling.dev>
Thu, 18 Aug 2022 12:06:25 +0000 (08:06 -0400)
src/main/kotlin/info/mechyrdia/lore/tylan_language.kt
src/main/resources/static/font/tylan-language-alphabet-3.woff

index 3a7ae2857f4ca7e8da67d00790b33d8eddcbb2e2..2d0bb12524bd00874db0e4ccb3987cc8f48dcafc 100644 (file)
@@ -11,6 +11,12 @@ object TylanAlphabet {
        )
        
        private val replacements = listOf(
+               Regex("([a-pr-v'])m(?![\\w'])") to "$1A",
+               Regex("([a-pr-v'])n(?![\\w'])") to "$1E",
+               Regex("([a-ps-v'])r(?![\\w'])") to "$1H",
+               Regex("([ac-fh-jl-or-v'])s(?![\\w'])") to "$1I",
+               Regex("([a-pr-v'])t(?![\\w'])") to "$1Q",
+               
                Regex("x") to "M",
                Regex("y") to "N",
                Regex("[qw-z]") to "",
@@ -25,10 +31,10 @@ object TylanAlphabet {
                Regex("ks") to "K",
                Regex("ps") to "P",
                
-               Regex("b's") to "bs",
-               Regex("g's") to "gs",
-               Regex("k's") to "ks",
-               Regex("p's") to "ps",
+               Regex("b'([Is])") to "b$1",
+               Regex("g'([Is])") to "g$1",
+               Regex("k'([Is])") to "k$1",
+               Regex("p'([Is])") to "p$1",
                
                Regex("ff") to "F",
                Regex("fv") to "V",
index 3ddb4cc978860164a44975f4f932400fd79f2117..b0ce07cac86bceddc2c9c1de158648296d94152a 100644 (file)
Binary files a/src/main/resources/static/font/tylan-language-alphabet-3.woff and b/src/main/resources/static/font/tylan-language-alphabet-3.woff differ