Module:rad-IPA: Difference between revisions

Jump to navigation Jump to search
m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
mNo edit summary
Line 115: Line 115:
end
end
-- BEGIN BASE GENERATION --
-- BEGIN BASE GENERATION --
function export.generate(s)
function export.generate_IPA(s)
local s_len = mw.ustring.len(s)
local s_len = mw.ustring.len(s)
IPA = {}
IPA = {}
Line 194: Line 194:
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)
return export.generate_IPA(args[1])
end
end


return export
return export

Navigation menu