Module:siwa-pron: Difference between revisions
No edit summary |
No edit summary |
||
| Line 81: | Line 81: | ||
local morpheme = {} | local morpheme = {} | ||
local syll = {} | local syll = {} | ||
if gmatch(word,"·") then | if gmatch(word,"·") then | ||
| Line 95: | Line 94: | ||
morpheme[i] = "ˈ" .. morpheme[i] | morpheme[i] = "ˈ" .. morpheme[i] | ||
end | end | ||
end | end | ||
table.concat(syll,"-") | for i, m in ipairs(morpheme) do | ||
syll = split(morpheme[i], pattern) | |||
table.insert(morpheme, syll) | |||
end | |||
table.concat(syll, "-") | |||
return table.concat(morpheme,"·") | return table.concat(morpheme,"·") | ||
end | end | ||