Documentation for this module may be created at Module:senseid/templates/doc

local export = {}


function export.senseid_t(frame)
	local params = {
		[1] = {required = true, default = "und"},
		[2] = {required = true, default = ""},
	}
	
	local args = require("Module:parameters").process(frame:getParent().args, params)
	
	local m_languages = require("Module:languages")
	local lang = m_languages.getByCode(args[1]) or m_languages.err(args[1], 1)
	
	return require("Module:senseid").senseid(lang, args[2])
end


return export