45,646
edits
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
local consonants = "[pβmtsnɾlʧkxʷʞƕː]" | local consonants = "[pβmtsnɾlʧkxʷʞƕː]" | ||
local vowels = "[ | local vowels = "[aeiouəꜷꜽː]" | ||
local export = {} | local export = {} | ||
Line 54: | Line 54: | ||
local function syllabify(term) | local function syllabify(term) | ||
local syllable = "(" .. consonants .. " | local syllable = "(" .. consonants .. "*" .. vowels .. "ː?" .. consonants .. "-)" | ||
term = term:gsub(syllable, ".%1.") | term = term:gsub(syllable, ".%1.") | ||
term = term:gsub("^%.", "") | term = term:gsub("^%.", "") |