45,640
edits
No edit summary |
No edit summary |
||
Line 29: | Line 29: | ||
local args = frame:getParent().args | local args = frame:getParent().args | ||
local word = args["w"] or mw.title.getCurrentTitle().text | local word = args["w"] or mw.title.getCurrentTitle().text | ||
local data = {lang = lang, pos_category = deabb[args[1]], | local data = {lang = lang, pos_category = deabb[args[1]], heads = {word}, categories = {}, inflections = {},} | ||
local pos = args[1]; local f = args[2] | local pos = args[1]; local f = args[2] | ||