Module:head/languages/rad: Difference between revisions

Jump to navigation Jump to search
m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
mNo edit summary
Line 1: Line 1:
local data = {}
local data = {}


data["adjective"] = {
data["adform"] = {
{param = "cmp", label = "comparative"},
{param = "cmp", label = "comparative"},
{param = "adv", label = "adverb"},
{param = "adv", label = "adverb"},
}
data["adverb"] = {
{param = "cmp", label = "comparative"},
{param = "adj", label = "adjective"},
{param = "adj", label = "adjective"},
}
}
Line 21: Line 17:
{param = "cpd", label = "compound form", nolink = true},
{param = "cpd", label = "compound form", nolink = true},
{param = "adj", label = "relational adjective"},
{param = "adj", label = "relational adjective"},
}
data["pronoun"] = {
{param = "gen", label = "genitive singular"},
{param = "dat", label = "dative singular"},
{param = "acc", label = "accusative singular"},
{param = "pl", label = "nominative plural"},
{param = "genpl", label = "short genitive plural"},
{param = "genpl-l", label = "long genitive plural"},
{param = "genpl-du", label = "genitive plural"},
{param = "poss", label = "possessive"},
{param = "poss", label = "possessive"},
}
}
Line 49: Line 35:
data["proper noun"] = data["noun"]
data["proper noun"] = data["noun"]
data["numeral"] = data["noun"]
data["numeral"] = data["noun"]
data["pronoun"] = data["noun"]
data["adjective"] = data["adform"]
data["adverb"] = data["adform"]
data["suffix"] = {}
data["suffix"] = {}
for i,j in pairs (data["adjective"]) do table.insert(data["suffix"], j) end
for i,j in pairs (data["adverb"]) do table.insert(data["suffix"], j) end
for i,j in pairs (data["noun"]) do table.insert(data["suffix"], j) end
for i,j in pairs (data["noun"]) do table.insert(data["suffix"], j) end
for i,j in pairs (data["adform"]) do table.insert(data["suffix"], j) end
for i,j in pairs (data["verb"]) do table.insert(data["suffix"], j) end
for i,j in pairs (data["verb"]) do table.insert(data["suffix"], j) end


return data
return data

Navigation menu