48,355
edits
No edit summary |
No edit summary |
||
| Line 22: | Line 22: | ||
local vowel = "[" .. back_vowel .. front_vowel .. "]" | local vowel = "[" .. back_vowel .. front_vowel .. "]" | ||
local oral_to_nasal = {["a"] = "ã", ["i"] = "ĩ", ["ɔ"] = "ṍ", ["u"] = "ᴍ"} -- ṍ = ɔ̃ | local oral_to_nasal = {["a"] = "ã", ["i"] = "ĩ", ["ɔ"] = "ṍ", ["u"] = "ᴍ"} -- ṍ = ɔ̃ | ||
local modal_to_glottal = {["a"] = "à", ["i"] = "ì", ["ɔ"] = "ò", ["u"] = "ù"} | local modal_to_glottal = {["a"] = "à", ["i"] = "ì", ["ɔ"] = "ò", ["u"] = "ù"} | ||
local nasalized = "[ãĩṍᴍ]" | local nasalized = "[ãĩṍᴍ]" | ||
local glottalic = "[àèìòù]" | local glottalic = "[àèìòù]" | ||
| Line 40: | Line 40: | ||
{"(" .. 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 .. ")(" .. nasalized .. ")", function(s1, s2) return same(s1, s2) 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(s1, s2) and s2 .. "ː" .. HIGHFALL or modal_to_glottal[s1] .. s2 .. HIGHFALL end}, | ||
{"ṍ", "ɔ" .. NASAL}, | {"ṍ", "ɔ" .. NASAL}, | ||