45,646
edits
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("^([aeiouáéíóúəïüʔ])", "%1·") | term = term:gsub("^([aeiouáéíóúəïüʔ])", "%1·") | ||
term = term:gsub("([ | term = term:gsub("([pβmtsnɾlʧkxʷqhː]*[aeiouáéíóúəïü][pmtsnɾlʧkqː]-)", "·%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("^·", "") | --term = term:gsub("^·", "") | ||
term = term:gsub("·$", "") | --term = term:gsub("·$", "") | ||
term = term:gsub("··+", "·") | --term = term:gsub("··+", "·") | ||
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("·([pβmtsnɾlʧkxʷqhyʤɡbvdː])·", "%1·") | --term = term:gsub("·([pβmtsnɾlʧkxʷqhyʤɡbvdː])·", "%1·") | ||
local syllables = split(term, "·") | local syllables = split(term, "·") |