47,697
edits
![]() | We're back! Sorry, bad combo of sickness, funeral and a month-long trip abroad. The site is back now. ![]() |
No edit summary |
No edit summary |
||
Line 68: | Line 68: | ||
local function syllabify(term) | local function syllabify(term) | ||
local words = mw.text.split(term,"%s") | local words = mw.text.split(term,"%s") | ||
local final = {} | |||
for _, word in ipairs(words) do | for _, word in ipairs(words) do | ||
Line 100: | Line 101: | ||
ret = table.concat(syllables, "·") | ret = table.concat(syllables, "·") | ||
end | end | ||
end | end | ||
table.insert(final, table.concat(syllables, "·")) | |||
end | end | ||
return table.concat(final, " ") | |||
return table.concat( | |||
end | end | ||