45,646
edits
No edit summary |
No edit summary |
||
Line 56: | Line 56: | ||
local function syllabify(term) | local function syllabify(term) | ||
local iskolan = term == "kolaːn" | --[[local iskolan = term == "kolaːn" | ||
local syllable = "(" .. consonants .. "*" .. vowels .. consonants .. "-)" | local syllable = "(" .. consonants .. "*" .. vowels .. consonants .. "-)" | ||
term = term:gsub("(" .. consonants .. ")ː", "%1·%1") | term = term:gsub("(" .. consonants .. ")ː", "%1·%1") | ||
Line 81: | Line 81: | ||
else | else | ||
error("debug: " .. #syllables) | error("debug: " .. #syllables) | ||
end | end]] | ||
return table.concat(syllables, "·") | return term --table.concat(syllables, "·") | ||
end | end | ||