45,581
edits
No edit summary |
No edit summary |
||
Line 33: | Line 33: | ||
local rules = { | local rules = { | ||
{"ʇ", "ǀ"}, {"o", "ɔ"}, {"ṭ", "ʈ"}, {"j", "ɟ"}, {"ñ", "ɲ | {"ʇ", "ǀ"}, {"õ", "ṍ"}, {"o", "ɔ"}, {"ṭ", "ʈ"}, {"j", "ɟ"}, {"ñ", "ɲ"}, | ||
{"([ḛḭṵ])", {["ḛ"] = "è", ["ḭ"] = "ì", ["ṵ"] = "ù"}}, {"([ao])" .. TILDEBELOW, mw.ustring.toNFC("%1" .. GRAVE)}, | {"([ḛḭṵ])", {["ḛ"] = "è", ["ḭ"] = "ì", ["ṵ"] = "ù"}}, {"([ao])" .. TILDEBELOW, mw.ustring.toNFC("%1" .. GRAVE)}, | ||
{"([uùm]ʼ?)m", "%1ᴍ"}, {"m(ʼᴍ)", "ᴍ%1"}, -- tell apart between regular and syllabic <m> | {"([uùm]ʼ?)m", "%1ᴍ"}, {"m(ʼᴍ)", "ᴍ%1"}, -- tell apart between regular and syllabic <m> | ||
{"(" .. vowel .. ")(".. vowel .. ")", function(s1, s2) return same(s1, s2) and s1 .. " | {"(" .. vowel .. ")(".. vowel .. ")", (function(s1, s2) return same(s1, s2) and s1 .. "ː" or s1 .. s2 end) .. "˧"}, | ||
{"(" .. vowel .. ")(" .. nasal_vowel .. ")", | {"(" .. vowel .. ")(" .. nasal_vowel .. ")", function(s1, s2) return same(s1, s2) and s2 .. HIGHFALL end}, | ||
} | } | ||