Module:anui-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 40: Line 40:
{"([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 .. ")(" .. nasalized .. ")", function(s1, s2) return same(s1, s2) and s2 .. "ː" .. HIGHFALL or oral_to_nasal[s1] .. s2 .. HIGHFALL end},
{"(" .. vowel .. ")(" .. nasalized .. ")",
{"(" .. glottalic .. ")([" .. front_vowel .. "])", function(s1, s2) return same(s1, s2) and s1 .. "ː˦" or modal_to_oral[s1] .. modal_to_oral[s2] .. "˦" end},
function(s1, s2)
{"(" .. glottalic .. ")([" .. back_vowel .. "])", function(s1, s2) return same(s1, s2) and s1 .. "ː˨" or modal_to_oral[s1] .. modal_to_oral[s2] .. "˨" end},
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 s1 .. "ː˦" or modal_to_oral[s1] .. modal_to_oral[s2] .. "˦"
end
},
{"(" .. glottalic .. ")([" .. back_vowel .. "])",
function(s1, s2)
return same(s1, s2) and s1 .. "ː˨" or modal_to_oral[s1] .. modal_to_oral[s2] .. "˨"
end
},
{"ᴍᴍ", "m" .. SYLLABIC .. "ː"}, {"ùᴍ", "m" .. CREAKY .. SYLLABICA .. "ː˧"},
{"ᴍᴍ", "m" .. SYLLABIC .. "ː"}, {"ùᴍ", "m" .. CREAKY .. SYLLABICA .. "ː˧"},