Module:siwa-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 117: Line 117:
end
end
while m~=1 and n~=1 do
repeat
if m_sm.prefix[i]==pss[i] then
if m_sm.prefix[i]==pss[i] then
pss[i] = "ˌ" .. pss[i]
pss[i] = "ˌ" .. pss[i]
m=m+1
elseif m_sm.suffix[m] then
elseif m_sm.suffix[m] then
else
n=n+1
pss[i] = "ˈ" .. pss[i]
else
pss[i] = "ˈ" .. pss[i]
end
i=i+1
end
end
until gmatch(table.concat(pss),"ˈ") and gmatch(table.concat(pss),"ˌ")
return table.concat(pss,"·")
return table.concat(pss,"·")