45,647
edits
No edit summary |
No edit summary |
||
Line 26: | Line 26: | ||
local function syllabicize(term) | local function syllabicize(term) | ||
local syllable = "(" .. consonants .. "*" .. vowels .. "ː" .. consonants .. "-)" | local syllable = "(" .. consonants .. "*" .. vowels .. "ː?" .. consonants .. "-)" | ||
term = term:gsub(syllable, ".%1.") | term = term:gsub(syllable, ".%1.") | ||
term = term:gsub("%.%.([nlɾs])(" .. consonants .. ")", "%1.%2") | term = term:gsub("%.%.([nlɾs])(" .. consonants .. ")", "%1.%2") |