Module:anui-pron: Difference between revisions

Jump to navigation Jump to search
no edit summary
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 .. "ː˧" or s1 .. s2 .. "˧" end},
{"(" .. vowel .. ")(".. vowel .. ")", (function(s1, s2) return same(s1, s2) and s1 .. "ː" or s1 .. s2 end) .. "˧"},
{"(" .. vowel .. ")(" .. nasal_vowel .. ")", "%1" .. NASAL .. "%2ː" .. HIGHFALL},
{"(" .. vowel .. ")(" .. nasal_vowel .. ")", function(s1, s2) return same(s1, s2) and s2 .. HIGHFALL end},
--{["aa"] = "aː˧", ["ee"] = "eː˧", ["ii"] = "iː˧", ["ɔɔ"] = "ɔː˧", ["uu"] = "uː˧",}
}
}


Navigation menu