45,341
edits
No edit summary |
No edit summary |
||
Line 124: | Line 124: | ||
end | end | ||
--[[local i,j = find(term, ss) | --[[local i,j = find(term, ss) | ||
for _, srule in ipairs(stressed_rules) do | for _, srule in ipairs(stressed_rules) do | ||
Line 132: | Line 131: | ||
end]] | end]] | ||
term = string.sub(term, 1, i) .. ss .. string.sub(term, | term = string.sub(term, 1, i) .. ss .. string.sub(term, (string.match(term, stpattern))) | ||
table.insert(IPA, term) | table.insert(IPA, term) |