Module:kilta-pron: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 62: Line 62:
local iskolan = term == "kolaːn"
local iskolan = term == "kolaːn"
term = term:gsub("(" .. consonants .. ")ː", "%1·%1")
term = term:gsub("([pβmtsnɾlʧkxʷqhyʤɡbvdː])ː", "%1·%1")
term = term:gsub("q·q", "k·q")
term = term:gsub("q·q", "k·q")
term = term:gsub("^(" .. vowels .. ")", "%1·")
term = term:gsub("^([aeiouáéíóúəïüʔ])", "%1·")
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("([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·")
Line 73: Line 73:
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("·([pβmtsnɾlʧkxʷqhyʤɡbvdː])·", "%1·")
local syllables = split(term, "·")
local syllables = split(term, "·")

Navigation menu