Module:rad-IPA: Difference between revisions

Jump to navigation Jump to search
m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
mNo edit summary
Line 112: Line 112:
end
end
-- BEGIN BASE GENERATION --
-- BEGIN BASE GENERATION --
function generate_IPA(s)
function export.generate(s)
local args = m_parameters.process(s:getParent().args, params)
s = args[1]
local s_len = mw.ustring.len(s)
local s_len = mw.ustring.len(s)
IPA = {}
IPA = {}
Line 191: Line 193:
return table.concat(IPA)
return table.concat(IPA)
-- END OF BASE GENERATION --
-- END OF BASE GENERATION --
end
function export.generate(frame)
local args = m_parameters.process(frame:getParent().args, params)
generate_IPA(args[1])
end
end


return export
return export

Navigation menu