45,363
edits
No edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
local oral_to_nasal = {["a"] = "ã", ["i"] = "ĩ", ["ɔ"] = "ṍ", ["u"] = "ᴍ"} -- ṍ = ɔ̃ | local oral_to_nasal = {["a"] = "ã", ["i"] = "ĩ", ["ɔ"] = "ṍ", ["u"] = "ᴍ"} -- ṍ = ɔ̃ | ||
local modal_to_glottal = {["a"] = "à", ["e"] = "è", ["i"] = "ì", ["ɔ"] = "ò", ["u"] = "ù"} | local modal_to_glottal = {["a"] = "à", ["e"] = "è", ["i"] = "ì", ["ɔ"] = "ò", ["u"] = "ù"} | ||
local glottal_to_modal = {["à"] = "a" .. CREAKY, ["è"] = "e" .. CREAKY, ["ì"] = "i" .. CREAKY, ["ò"] = "ɔ" .. CREAKY, ["ù"] = "u" .. CREAKY} | |||
local nasalized = "[ãĩṍᴍ]" | local nasalized = "[ãĩṍᴍ]" | ||
local glottalic = "[àèìòù]" | local glottalic = "[àèìòù]" | ||
Line 39: | Line 39: | ||
{"([ḛḭṵaɔ]" .. TILDEBELOW .. "?)", {["ḛ"] = "è", ["ḭ"] = "ì", ["ṵ"] = "ù", ["a" .. TILDEBELOW] = "à", ["ɔ" .. TILDEBELOW] = "ò"}}, | {"([ḛḭṵaɔ]" .. TILDEBELOW .. "?)", {["ḛ"] = "è", ["ḭ"] = "ì", ["ṵ"] = "ù", ["a" .. TILDEBELOW] = "à", ["ɔ" .. TILDEBELOW] = "ò"}}, | ||
{"([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 and s1 .. "ː˧" or s1 .. s2 .. "˧" end}, | {"(" .. vowel .. ")(".. vowel .. ")", function(s1, s2) return same(s1, s2) and s1 .. "ː˧" or s1 .. s2 .. "˧" end}, | ||
{"(" .. vowel .. ")(" .. nasalized .. ")", function(s1, s2) return same and s2 .. "ː" .. HIGHFALL or oral_to_nasal[s1] .. s2 .. HIGHFALL end}, | {"(" .. vowel .. ")(" .. nasalized .. ")", function(s1, s2) return same(s1, s2) and s2 .. "ː" .. HIGHFALL or oral_to_nasal[s1] .. s2 .. HIGHFALL end}, | ||
{"(" .. glottalic .. ")([" .. front_vowel .. "])", function(s1, s2) return same and s1 .. "ː˦" or modal_to_oral[s1] .. modal_to_oral[s2] .. "˨" end}, | {"(" .. glottalic .. ")([" .. front_vowel .. "])", function(s1, s2) return same(s1, s2) and s1 .. "ː˦" or modal_to_oral[s1] .. modal_to_oral[s2] .. "˨" end}, | ||
{"ṍ", "ɔ" .. NASAL}, | {"ṍ", "ɔ" .. NASAL}, {glottalic, glottal_to_modal["%1"]}, | ||
} | } | ||