Module:qay-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 48: Line 48:
{"h?u([aeiouɛɪɔʊ])", "w%1"}, {"h([" .. front .. "])", "ç%1"}, {"h([" .. back .. "])", "x%1"},
{"h?u([aeiouɛɪɔʊ])", "w%1"}, {"h([" .. front .. "])", "ç%1"}, {"h([" .. back .. "])", "x%1"},
{"([^nŋ]·)[tk]j", "%1ʧ"}, {"([^nŋ]·)[dɡ]j", "%1ʤ"}, {"r", "ɾ"},
{"([^nŋ]·)[tk]j", "%1ʧ"}, {"([^nŋ]·)[dɡ]j", "%1ʤ"}, {"r", "ɾ"}, {"k·w", "·kw"},
-- Lax vowels in closed syllables
-- Lax vowels in closed syllables
Line 71: Line 71:
term = gsub(term, "·(" .. consonants .. ")$", "%1")
term = gsub(term, "·(" .. consonants .. ")$", "%1")
term = gsub(term, "·(" .. consonants .. ")·", "%1·")
term = gsub(term, "·(" .. consonants .. ")·", "%1·")
term = gsub(term, "(" .. consonants .. ")·(" .. consonants .. ")([pbmvstdnrɾlkɡŋhxçʤʧ])", "%1%2·%3")
term = gsub(term, "(" .. consonants .. ")·(" .. consonants .. ")([pbmvstdnrɾlkɡŋhxçʤʧçx])", "%1%2·%3")
local syllables = split(term, "·")
local syllables = split(term, "·")