Module:siwa-pron: Difference between revisions
No edit summary |
No edit summary |
||
| Line 125: | Line 125: | ||
local ss = mw.ustring.match(term, stpattern) | local ss = mw.ustring.match(term, stpattern) | ||
local i,j = string.find(term, ss) | --local i,j = string.find(term, ss) | ||
for _, srule in ipairs(stressed_rules) do | for _, srule in ipairs(stressed_rules) do | ||
for regex, replacement in pairs(srule) do | for regex, replacement in pairs(srule) do | ||
| Line 132: | Line 132: | ||
end | end | ||
term = | term = ss | ||
table.insert(IPA, term) | table.insert(IPA, term) | ||