Module:qay-pron: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 59: Line 59:
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 .. ")(" .. consonants .. ")", "%1%2·%3")
term = gsub(term, "(" .. consonants .. ")·(" .. consonants .. ")([pbmvstdnrɾlkɡŋhxçʤʧ])", "%1%2·%3")
local syllables = split(term, "·")
local syllables = split(term, "·")