Module:kilta-pron: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 65: Line 65:
term = term:gsub("q·q", "k·q")
term = term:gsub("q·q", "k·q")
term = term:gsub("([pβmtsnɾlʧkxʷqhyʤɡbvdː]*[aeiouáéíóúəïüʔ]ː?[pβmtsnɾlʧkxʷqhyʤɡbvdː]*?)", "·%1·")
term = term:gsub("([pβmtsnɾlʧkxʷqhyʤɡbvdː]*[aeiouáéíóúəïüʔ]ː?[pβmtsnɾlʧkxʷqhyʤɡbvdː]*?)", "·%1·")
--[[term = term:gsub("^·", "")
term = term:gsub("^·", "")
term = term:gsub("·$", "")
term = term:gsub("·$", "")
term = term:gsub("··+", "·")
term = term:gsub("··+", "·")
Line 71: Line 71:
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