Module:kilta-pron: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 61: Line 61:
term = term:gsub("q·q", "k·q")
term = term:gsub("q·q", "k·q")
term = term:gsub(syllable, "·%1·")
term = term:gsub(syllable, "·%1·")
--[[term = term:gsub("^·", "")
term = term:gsub("^·", "")
term = term:gsub("·$", "")
term = term:gsub("·$", "")
term = term:gsub("·+", "·")
term = term:gsub("·+", "·")
Line 67: Line 67:
term = term:gsub("·([nlɾs])([pβmtʧkxʷqƕː])", "%1·%2")
term = term:gsub("·([nlɾs])([pβmtʧkxʷqƕː])", "%1·%2")
term = term:gsub("·([tmnlɾs])$", "%1")
term = term:gsub("·([tmnlɾs])$", "%1")
term = term:gsub("·(" .. consonants .. ")·", "%1·")]]
term = term:gsub("·(" .. consonants .. ")·", "%1·")
local syllables = split(term, "·")
local syllables = split(term, "·")

Navigation menu