본문으로 이동

모듈:gender and number/data

위키낱말사전, 말과 글의 누리

이 모듈에 대한 설명문서는 모듈:gender and number/data/설명문서에서 만들 수 있습니다

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="gender incomplete">?</abbr>'},
	-- FIXME: The following should be either eliminated in favor of g! or converted to a general "gender/number unattested".
	["?!"] = {type = "other", display = '<abbr title="gender unattested">gender unattested</abbr>'},

-- Genders
	["m"] = {type = "gender", cat = "남성 POS", display = '<abbr title="남성 POS">남성</abbr>'},
	["f"] = {type = "gender", cat = "여성 POS", display = '<abbr title="여성 POS">여성</abbr>'},
	["n"] = {type = "gender", cat = "중성 POS", display = '<abbr title="중성 POS">중성</abbr>'},
	["c"] = {type = "gender", cat = "통성 POS", display = '<abbr title="통성 POS">통성</abbr>'},
	["gneut"] = {type = "gender", cat = "gender-neutral POS", display = '<abbr title="gender-neutral">gender-neutral</abbr>'},
	["g!"] = {type = "gender", display = '<abbr title="gender unattested">gender unattested</abbr>'},

-- 활동성 여부
	-- Animate = either animal or personal (for Russian, etc.)
	["an"] = {type = "animacy", cat = "animate POS", display = '<abbr title="활동체">활동체</abbr>'},
	["in"] = {type = "animacy", cat = "inanimate POS", display = '<abbr title="비활동체">비활동체</abbr>'},
	-- Animal (for Ukrainian, Belarusian, Polish, etc.)
	["anml"] = {type = "animacy", cat = "animal POS", display = '<abbr title="동물">animal</abbr>'},
	-- Personal (for Ukrainian, Belarusian, Polish, etc.)
	["pr"] = {type = "animacy", cat = "personal POS", display = '<abbr title="personal">pers</abbr>'},
	["np"] = {type = "animacy", cat = "nonpersonal POS", display = '<abbr title="nonpersonal">npers</abbr>'},
	["an!"] = {type = "animacy", display = '<abbr title="animacy unattested">animacy unattested</abbr>'},

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

-- Numbers
	["s"] = {type = "number", display = '<abbr title="단수">단수</abbr>'},
	["d"] = {type = "number", cat = "dualia tantum", display = '<abbr title="쌍수">쌍수</abbr>'},
	["p"] = {type = "number", cat = "pluralia tantum", display = '<abbr title="복수">복수</abbr>'},
	["num!"] = {type = "number", display = '<abbr title="number unattested">number unattested</abbr>'},

-- Verb qualifiers
	["impf"] = {type = "aspect", cat = "imperfective POS", display = '<abbr title="미완료상">미완료</abbr>'},
	["pf"] = {type = "aspect", cat = "perfective POS", display = '<abbr title="완료상">완료</abbr>'},
	["asp!"] = {type = "aspect", display = '<abbr title="aspect unattested">aspect unattested</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="different genders do not affect the meaning">same meaning</abbr>'},
	["mfbysense"] = {codes = {"m", "f"}, cat = "masculine and feminine POS by sense",
		display = '<abbr title="according to the gender of the referent">by sense</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 = {
	["gender"] = "POS with multiple genders",
	["animacy"] = "POS with multiple animacies",
	["aspect"] = "biaspectual POS",
}

return data