A modult a Modul:gender and number/data/doc lapon tudod dokumentálni

local data = {}

-- A list of all possible "parts" that a specification can be made out of. For each part, we list
-- the class it's in (gender, animacy, etc.), the associated category (if any) and the display form.
-- In a given gender/number spec, only one part of each class is allowed.
data.codes = {
	["?"] = {type = "other", display = '<abbr title="hiányos nem">?</abbr>'},

-- Genders
	["m"] = {type = "gender", display = '<abbr title="hímnem">hn</abbr>'},
	["f"] = {type = "gender", display = '<abbr title="nőnem">nn</abbr>'},
	["n"] = {type = "gender", display = '<abbr title="semlegesnem">sn</abbr>'},
	["c"] = {type = "gender", display = '<abbr title="közös nem">kn</abbr>'},
	["u"] = {type = "gender", display = '<abbr title="közös nem">kn</abbr>'},
	["mf"] = {type = "gender", display = '<abbr title="közös nem">kn</abbr>'},
	["fm"] = {type = "gender", display = '<abbr title="közös nem">kn</abbr>'},
	["m+f"] = {type = "gender", display = '<abbr title="közös nem">kn</abbr>'},

-- Animacy
	["an"] = {type = "animacy", display = '<abbr title="élő">élő</abbr>'},
	["in"] = {type = "animacy", display = '<abbr title="élettelen">élett</abbr>'},
-- Animal (for Ukrainian, Belarusian, Polish)
	["anml"] = {type = "animacy", cat = "animal POS", display = '<abbr title="animal">animal</abbr>'},

-- Personal (for Ukrainian, Belarusian, Polish)
	["pr"] = {type = "personal", display = '<abbr title="személyes">szem</abbr>'},

-- Nonpersonal not currently used
	["np"] = {type = "animacy", cat = "nonpersonal POS", display = '<abbr title="nonpersonal">npers</abbr>'},

-- Virility (for Polish)
	["vr"] = {type = "virility", cat = "virile POS", display = '<abbr title="virile">vir</abbr>'},
	["nv"] = {type = "virility", cat = "nonvirile POS", display = '<abbr title="nonvirile">nvir</abbr>'},

-- Numbers
	["s"] = {type = "number", display = '<abbr title="egyes szám">esz</abbr>'},
	["d"] = {type = "number", display = '<abbr title="kettős szám">ksz</abbr>'},
	["p"] = {type = "number", display = '<abbr title="többes szám">tsz</abbr>'},

-- Verb qualifiers
	["impf"] = {type = "perfectivity", display = '<abbr title="folyamatos">foly</abbr>'},
	["pf"] = {type = "perfectivity", display = '<abbr title="befejezett">bef</abbr>'},
}

-- Combined codes that are equivalent to giving multiple specs. `mf` is the same as specifying two separate specs,
-- one with `m` in it and the other with `f`. `mfbysense` is similar but is used for nouns that can be either masculine
-- or feminine according as to whether they refer to masculine or feminine beings.
data.combinations = {
	["mf"] = {codes = {"m", "f"}},
	["mfbysense"] = {codes = {"m", "f"}, cat = "masculine and feminine POS by sense"}
}

-- Categories when multiple gender/number specs of a given type occur in different 
data.codetype_cats = {
	["gender"] = "POS with multiple genders",
	["animacy"] = "POS with multiple animacies",
	["aspect"] = "biaspectual POS"
}

return data