45,647
edits
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 217: | Line 225: | ||
end | end | ||
return fcrux(term) | |||
end | end | ||
function format_IPA(items) | function format_IPA(items) |