Pergi ke kandungan

Modul:gender and number/data

Daripada Wikikamus
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="jantina tidak lengkap">?</abbr>'},
	["?!"] = {type = "other", display = '<abbr title="jantina tidak diberi">jantina tidak diberi</abbr>'},

-- Genders
	["m"] = {type = "jantina", cat = "masculine POS", display = '<abbr title="jantina maskulin">m</abbr>'},
	["f"] = {type = "jantina", cat = "feminine POS", display = '<abbr title="jantina feminin">f</abbr>'},
	["n"] = {type = "jantina", cat = "neuter POS", display = '<abbr title="jantina neuter">n</abbr>'},
	["c"] = {type = "jantina", cat = "common-gender POS", display = '<abbr title="jantina umum">c</abbr>'},
	["gneut"] = {type = "jantina", cat = "gender-neutral POS", display = '<abbr title="neutral">neutral</abbr>'},

-- Animacy
	["an"] = {type = "animasi", cat = "animate POS", display = '<abbr title="bernyawa">bernyawa</abbr>'},
	["in"] = {type = "animasi", cat = "inanimate POS", display = '<abbr title="tak bernyawa">tak bernyawa</abbr>'},
-- Animal (for Ukrainian, Belarusian, Polish)
	["anml"] = {type = "animasi", cat = "animal POS", display = '<abbr title="haiwan">haiwan</abbr>'},
-- Personal (for Ukrainian, Belarusian, Polish)
	["pr"] = {type = "animasi", cat = "personal POS", display = '<abbr title="peribadi">peribadi</abbr>'},
-- Nonpersonal not currently used
	["np"] = {type = "animasi", cat = "nonpersonal POS", display = '<abbr title="tak peribadi">tak peribadi</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 = "bilangan", display = '<abbr title="bilangan mufrad">mf</abbr>'},
	["d"] = {type = "bilangan", cat = "dualia tantum", display = '<abbr title="bilangan duaan">du</abbr>'},
	["p"] = {type = "bilangan", cat = "pluralia tantum", display = '<abbr title="bilangan jamak">jm</abbr>'},

-- Verb qualifiers
	["impf"] = {type = "aspect", cat = "imperfective POS", display = '<abbr title="imperfective aspect">impf</abbr>'},
	["pf"] = {type = "aspect", cat = "perfective POS", display = '<abbr title="perfective aspect">pf</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"}},
	["mfequiv"] = {codes = {"m", "f"}, display = '<abbr title="pembezaan jantina tidak mempengaruhi takrifan">takrifan sama</abbr>'},
	["mfbysense"] = {codes = {"m", "f"}, cat = "masculine and feminine POS by sense",
		display = '<abbr title="mengikut jantina perkara dirujuk">mengikut keadaan</abbr>'},
	["biasp"] = {codes = {"impf", "pf"}},
}

-- Categories when multiple gender/number codes of a given type occur in different specs (two or more of the same type
-- cannot occur in a single spec).
data.multicode_cats = {
	["jantina"] = "POS with multiple genders",
	["animasi"] = "POS with multiple animacies",
	["aspect"] = "biaspectual POS",
}

return data