45,337
edits
No edit summary |
No edit summary |
||
Line 111: | Line 111: | ||
function export.morphemes(word) | function export.morphemes(word) | ||
local pss = {} | local pss = {} | ||
if gmatch(word,"·") then | if gmatch(word,"·") then | ||
Line 118: | Line 117: | ||
repeat | repeat | ||
for | for _, morph in ipairs(pss) do | ||
if m_sm.prefix | for i=1,15,1 do | ||
if morph==m_sm.prefix[i] then | |||
pss[i] = "ˌ" .. pss[i] | |||
end | |||
end | end | ||
end | end | ||
until gmatch(table.concat(pss),"ˈ") and gmatch(table.concat(pss),"ˌ") | until gmatch(table.concat(pss),"ˈ") and gmatch(table.concat(pss),"ˌ") | ||