Module:siwa-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 186: Line 186:
}
}


function fcrux(term)
for _, f in ipairs(final) do
term = gsub(term, f[1], f[2])
end
return term
end
function export.crux(term, a, e, w)
function export.crux(term, a, e, w)
term=mw.ustring.lower(term)
term=mw.ustring.lower(term)
Line 225: Line 217:
end
end
return fcrux(term)
for _, f in ipairs(final) do
term = gsub(term, f[1], f[2])
end
return term
end
end