Module:head/languages/lnk-pro: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 22: Line 22:


data["proper noun"] = data["noun"]
data["proper noun"] = data["noun"]
data["pronoun"] = data["noun"]
data["numeral"] = data["noun"]
data["numeral"] = data["noun"]
data["prefix"] = data["affix"]
data["prefix"] = data["affix"]
data["suffix"] = data["affix"]
data["suffix"] = data["affix"]
data["infix"] = data["affix"]
data["infix"] = data["affix"]
data["verbal root"] = data["root"]
 
data["nominal root"] = data["root"]
local root_types = {"verbal", "nominal", "adjectival", "numeral"}
data["adjectival root"] = data["root"]
for _, root_type in ipairs(root_types) do
data[root_type .. " root"] = data["root"]
end


return data
return data