localexport={}localpos_functions={}locallang=require("Module:languages").getByCode("ta")localscript=require("Module:scripts").getByCode("Taml")localPAGENAME=mw.title.getCurrentTitle().textfunctionexport.show(frame)localargs=frame:getParent().argslocalposcat=frame.args[1]orerror("Part of speech has not been specified. Please pass parameter 1 to the module invocation.")-- หมวดหมู่เป็นภาษาไทยlocalposcat_th=require("Module:utilities").translate_term(poscat)localdata={lang=lang,sc=script,pos_category=poscat_th,categories={},heads={args["head"]},inflections={}}ifpos_functions[poscat_th]thenpos_functions[poscat_th](args,data)endlocalletter=truelocalspecialLetter=mw.ustring.gmatch(PAGENAME,'.-([ஃஜஶஷஸஹ]).-')whiletruedoletter=specialLetter()if(notletter)thenbreakendtable.insert(data.categories,"ศัพท์ภาษาทมิฬที่สะกดด้วย "..letter)endreturnrequire("Module:headword").full_headword(data)endpos_functions["คำนาม"]=function(args,data)localplurals={label="plural"}ifargs["pl"]thentable.insert(plurals,args["pl"])table.insert(data.inflections,plurals)endendpos_functions["คำสรรพนาม"]=function(args,data)localplurals={label="plural"}ifargs["pl"]thentable.insert(plurals,args["pl"])table.insert(data.inflections,plurals)endendreturnexport