45,622
edits
No edit summary |
No edit summary |
||
Line 28: | Line 28: | ||
local function syllabify(term) | local function syllabify(term) | ||
term = gsub(term, "(" .. consonants .. "*)(" .. vowels .. "*)", "%1%2·") | term = gsub(term, "(" .. consonants .. "*)(" .. vowels .. "*)", "%1%2·") | ||
term = gsub(term, "·· | term = gsub(term, "··", "") | ||
term = gsub(term, "·(" .. consonants .. ")(" .. consonants .. ")(" .. vowels .. "*)", "%1·%2%3") | term = gsub(term, "·(" .. consonants .. ")(" .. consonants .. ")(" .. vowels .. "*)", "%1·%2%3") | ||
term = gsub(term, "·(" .. consonants .. ")$", "%1") | term = gsub(term, "·(" .. consonants .. ")$", "%1") |