45,646
edits
No edit summary |
No edit summary |
||
Line 55: | Line 55: | ||
local function syllabify(term) | local function syllabify(term) | ||
local syllable = "(" .. consonants .. "*" .. vowels .. "ː?" .. consonants .. "-)" | local syllable = "(" .. consonants .. "*" .. vowels .. "ː?" .. consonants .. "-)" | ||
term = term:gsub("(" .. consonants .. ")ː", "%1.$1") | |||
term = term:gsub(syllable, ".%1.") | term = term:gsub(syllable, ".%1.") | ||
term = term:gsub("^%.", "") | term = term:gsub("^%.", "") |