Module:mg-pron: Difference between revisions
No edit summary |
No edit summary |
||
| Line 27: | Line 27: | ||
local function syllabify(term) | local function syllabify(term) | ||
term = gsub(term, "(" .. consonants .. "*)(" .. vowels .. "*)", "%1% | term = gsub(term, "(" .. consonants .. "*)(" .. vowels .. "*)", "%1%2·") | ||
term = gsub(term, " | term = gsub(term, "·(" .. consonants .. ")(" .. consonants .. ")(" .. vowels .. "*)", "%1·%2%3") | ||
return term | return term | ||