Module:zm-pron: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 36: Line 36:
local SYLL = u(0x0329)
local SYLL = u(0x0329)
local SYLL = "[r̩]"
local SYLL = "[r̩]"


local function same(foo, bar)
local function same(foo, bar)
Line 46: Line 47:


local rules = {
local rules = {
{"ʇ", "ǀ"}, {"õ", ""}, {"o", "ɔ"}, {"", "ʈ"}, {"j", "ɟ"}, {"ñ", "ɲ"}, {"ch", ""}, {"ʈr", "ʈʂ"}, {"", "ɳ"}, {"", "ʂ"}, {"š", "ʃ"},
{"h", "x"}, {"ai", "ɛ"}, {"au", "ɔ"}, {"è", "ɛ"}, {"ò", "ɔ"}, {"", "d͡ʑ"}, {"", "d͡ʒ"},
{"ṯ([" .. front_vowel .. "])", "s%1"},
{"ć", "t͡ɕ"}, {"nj", "ɲ"}, {"č", "t͡ʃ"}, {"ž", "ʒ"}, {"š", "ʃ"},
{"(" .. palatal .. ")e", "ɛ%1"},
{"(" .. palatal .. ")e", "ɛ%1"},
{"(" .. palatal .. ")o", "ɔ%1"},
{"(" .. palatal .. ")o", "ɔ%1"},
{"(" .. consonants ..")r(" .. consonants ..")", "%1r" .. SYLL .. "%2"},
{"(" .. consonants ..")r(" .. consonants ..")", "%1r" .. SYLL .. "%2"},
Line 57: Line 58:
{"([" .. click .. "])(" .. glottalic .. ")", "%1ˀ%2"}, -- ꞰV̰ = ꞰˀV̰
{"([" .. click .. "])(" .. glottalic .. ")", "%1ˀ%2"}, -- ꞰV̰ = ꞰˀV̰
-- tell apart between regular and syllabic <m>
-- tell apart between regular and syllabic <m>
{"(" .. oral .. ")m(" .. vowel .. ")", "%1ᴟ%2"}, {"([uùm]ʼ?)m", "%1ᴍ"}, {"m(ʼᴍ)", "ᴍ%1"}, {"(" .. oral .. ")m", "%1ᴍ"},
{"(" .. sonorant .. ")(" .. glottalic .. ")", "%1" .. CREAKY .. "%2"}, -- MV̰ > M̰V̰  
{"(" .. sonorant .. ")(" .. glottalic .. ")", "%1" .. CREAKY .. "%2"}, -- MV̰ > M̰V̰  
{"[mᴟ](" .. vowel .. ")", "ᴟᵇ%1"},  {"ŋ(" .. vowel .. ")", "ŋᶢ%1"},  {"ɳ(" .. vowel .. ")", "ᶯɖ%1"},
{"[mᴟ](" .. vowel .. ")", "ᴟᵇ%1"},  {"ŋ(" .. vowel .. ")", "ŋᶢ%1"},  {"ɳ(" .. vowel .. ")", "ᶯɖ%1"},
455

edits

Navigation menu