Module:anui-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 32: Line 32:
local oral = "[aeiouàèìòù]"
local oral = "[aeiouàèìòù]"


local sonorant = "[rmnɳɖɲlŋɴ]"
local click = "ǀǃʘǂǁ"
local click = "ǀǃʘǂǁ"


Line 51: Line 52:
{"([" .. click .. "])(" .. glottalic .. ")", "%1ˀ%2"},  
{"([" .. click .. "])(" .. glottalic .. ")", "%1ˀ%2"},  
{"([uùm]ʼ?)m", "%1ᴍ"}, {"m(ʼᴍ)", "ᴍ%1"}, {"(" .. oral .. ")m", "%1ᴍ"},-- tell apart between regular and syllabic <m>
{"([uùm]ʼ?)m", "%1ᴍ"}, {"m(ʼᴍ)", "ᴍ%1"}, {"(" .. oral .. ")m", "%1ᴍ"},-- tell apart between regular and syllabic <m>
{"m(" .. oral .. ")", "mᵇ%1"},  {"ŋ(" .. oral .. ")", "ŋᶢ%1"},  {"ɳ(" .. oral .. ")", "ᶯɖ%1"},
{"(" .. sonorant .. ")(" .. glottalic .. ")", "%1" .. CREAKY .. "%2"},
{"m(" .. vowel .. ")", "mᵇ%1"},  {"ŋ(" .. vowel .. ")", "ŋᶢ%1"},  {"ɳ(" .. vowel .. ")", "ᶯɖ%1"},
{"(" .. 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 .. ")",
{"(" .. vowel .. ")(" .. nasalized .. ")",