Module:rad-stem/templates: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 279: Line 279:
local table_type = args['type'] or args['t'] or "sgpl"
local table_type = args['type'] or args['t'] or "sgpl"
local gender = args['gender'] or args['g'] or "in"
-- generate forms --
-- generate forms --
Line 346: Line 348:
end
end
local voc = get_forms("voc", stems.voc, adj_broken_e)
local voc = get_forms("voc", stems.voc, adj_broken_e)
local gen = get_forms("gen", stems.gen, adj_broken, "k")
local gen = ""
local dat = get_forms("dat", stems.dat, adj, "a")
local dat = ""
local acc = get_forms("acc", stems.acc, adj_broken, "t")
local acc = ""
local ins = get_forms("ins", stems.ins, adj, "úr")
local ins = ""
if gender == "an" then
gen = get_forms("gen", stems.gen, adj, "esk")
dat = get_forms("dat", stems.dat, adj, "en")
acc = get_forms("acc", stems.acc, adj, "est")
ins = get_forms("ins", stems.ins, adj, "evúr")
else
gen = get_forms("gen", stems.gen, adj_broken, "k")
dat = get_forms("dat", stems.dat, adj, "a")
acc = get_forms("acc", stems.acc, adj_broken, "t")
ins = get_forms("ins", stems.ins, adj, "úr")
end
local nompl = get_forms("nompl", stems.nompl, adj_broken_e)
local nompl = get_forms("nompl", stems.nompl, adj_broken_e)

Navigation menu