Module:mg-pron: Difference between revisions
No edit summary |
No edit summary |
||
| Line 33: | Line 33: | ||
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, "(" .. consonants .. ")(" .. consonants .. ")(" .. vowels .. "*)", "%1.%2%3") | term = gsub(term, ".(" .. consonants .. ")(" .. consonants .. ")(" .. vowels .. "*)", "%1.%2%3") | ||
return term | return term | ||