Module:zh-generateforms

Hello, you have come here looking for the meaning of the word Module:zh-generateforms. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:zh-generateforms, but we will also tell you about its etymology, its characteristics and you will know how to say Module:zh-generateforms in singular and plural. Everything you need to know about the word Module:zh-generateforms you have here. The definition of the word Module:zh-generateforms will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:zh-generateforms, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.


local export = {}
local data = mw.loadData("Module:zh/data/ts")

function export.generateForms(text, lang, sc)
	if sc == "Hant" then
		return {text, (text:gsub("*", data))}
	end
	return {text}
end

return export