--[=[
This module lists the less common recognized inflection tags, in the same
format as for ] (which contains the more common tags).
We split the tags this way to save memory, so we avoid loading the less common
tags in the majority of cases.
]=]
local tags = {}
local shortcuts = {}
----------------------- Person -----------------------
tags = {
tag_type = "person",
glossary = "fourth person",
glossary_type = "wikt",
shortcuts = {"4"},
wikidata = "Q3348541",
}
tags = {
tag_type = "person",
glossary = "second-person-object form",
shortcuts = {"2o"},
}
----------------------- Number -----------------------
tags = {
tag_type = "number",
glossary = "associative plural",
glossary_type = "wikt",
shortcuts = {"ass p", "ass pl", "assoc p", "assoc pl"},
}
tags = {
tag_type = "number",
glossary = "collective number",
shortcuts = {"col"},
wikidata = "Q694268",
}
tags = {
tag_type = "number",
glossary = "collective number",
shortcuts = {"cpos", "colpos"},
}
tags = {
tag_type = "number",
glossary = "distributive paucal",
glossary_type = "wikt",
shortcuts = {"dpau"},
}
tags = {
tag_type = "number",
glossary = "paucal",
glossary_type = "wikt",
shortcuts = {"pau"},
wikidata = "Q489410",
}
tags = {
tag_type = "number",
glossary = "singulative number",
shortcuts = {"sgl"},
wikidata = "Q1450795",
}
tags = {
tag_type = "number",
display = "singular or plural",
glossary = "transnumeral",
shortcuts = {"trn"},
wikidata = "Q113631596",
}
tags = {
tag_type = "number",
glossary = "trial number",
shortcuts = {"tri"},
wikidata = "Q2142560",
}
----------------------- Gender -----------------------
tags = {
tag_type = "gender",
glossary = "gender",
shortcuts = {"natf"},
}
tags = {
tag_type = "gender",
glossary = "virile",
shortcuts = {"vr"},
}
----------------------- Animacy -----------------------
----------------------- Tense/aspect -----------------------
tags = {
tag_type = "tense-aspect",
glossary = "abtemporal",
glossary_type = "wikt",
shortcuts = {"abtemp"},
}
tags = {
tag_type = "tense-aspect",
glossary = "relative and absolute tense",
glossary_type = "wp",
shortcuts = {"ant"},
}
tags = {
tag_type = "tense-aspect",
glossary = "cessative",
glossary_type = "wp",
shortcuts = {"cess"},
wikidata = "Q17027342",
}
-- Aspect in Tagalog; presumably similar to the perfect tense/aspect but
-- not necessarily similar enough to use the same Wikidata ID
tags = {
tag_type = "tense-aspect",
glossary = "Tagalog grammar#Aspect",
glossary_type = "wp",
shortcuts = {"compl"},
}
tags = {
tag_type = "tense-aspect",
glossary = "concomitant",
glossary_type = "wikt",
shortcuts = {"concom"},
}
tags = {
tag_type = "tense-aspect",
glossary = "confirmative",
glossary_type = "wikt",
shortcuts = {"conf"},
}
tags = {
tag_type = "tense-aspect",
glossary = "Swahili grammar#Consecutive",
glossary_type = "wp",
}
-- Aspect in Tagalog
tags = {
tag_type = "tense-aspect",
glossary = "Tagalog grammar#Aspect",
glossary_type = "wp",
shortcuts = {"contem"},
}
tags = {
tag_type = "tense-aspect",
glossary = "contemporal",
glossary_type = "wikt",
shortcuts = {"contemp"},
}
tags = {
tag_type = "tense-aspect",
glossary = "continuous aspect",
glossary_type = "wp",
shortcuts = {"cont"},
wikidata = "Q12721117",
}
tags = {
tag_type = "tense-aspect",
glossary = "Delimitative aspect",
glossary_type = "wp",
shortcuts = {"delim"},
wikidata = "Q5316270",
}
tags = {
tag_type = "tense-aspect",
glossary = "Durative",
glossary_type = "wp",
shortcuts = {"dur"},
}
tags = {
tag_type = "tense-aspect",
glossary = "futuritive",
glossary_type = "wp",
shortcuts = {"futv", "futrv"},
}
tags = {
tag_type = "tense-aspect",
glossary = "frequentative",
glossary_type = "wp",
shortcuts = {"freq"},
wikidata = "Q467562",
}
tags = {
tag_type = "tense-aspect",
glossary = "Gnomic aspect",
glossary_type = "wp",
}
tags = {
tag_type = "tense-aspect",
glossary = "habitual aspect",
glossary_type = "wp",
shortcuts = {"hab"},
wikidata = "Q5636904",
}
-- same as the habitual; used in Mongolian linguistics
tags = {
tag_type = "tense-aspect",
glossary = "habitive",
glossary_type = "wp",
shortcuts = {"habv"},
}
tags = {
tag_type = "tense-aspect",
glossary = "immediative",
glossary_type = "wikt",
shortcuts = {"imm", "immed"},
}
tags = {
tag_type = "tense-aspect",
glossary = "incidental",
glossary_type = "wikt",
shortcuts = {"incid"},
}
tags = {
tag_type = "tense-aspect",
glossary = "iterative aspect",
glossary_type = "wp",
shortcuts = {"iter"},
wikidata = "Q2866772",
}
tags = {
tag_type = "tense-aspect",
glossary = "momentaneous",
glossary_type = "wikt",
shortcuts = {"mom"},
wikidata = "Q115110791",
}
tags = {
tag_type = "tense-aspect",
glossary = "relative and absolute tense",
glossary_type = "wp",
shortcuts = {"post"},
}
tags = {
tag_type = "tense-aspect",
glossary = "preconditional",
glossary_type = "wikt",
shortcuts = {"precond"},
}
-- Type of participle in Hindi; also called agentive or agentive-prospective
tags = {
tag_type = "tense-aspect",
glossary = "prospective aspect",
glossary_type = "wp",
shortcuts = {"pros"},
}
tags = {
tag_type = "tense-aspect",
glossary = "purposive",
glossary_type = "wikt",
shortcuts = {"purp"},
}
-- Aspect in Tagalog; presumably similar to the perfect tense/aspect but
-- not necessarily similar enough to use the same Wikidata ID
tags = {
tag_type = "tense-aspect",
glossary = "Tagalog grammar#Aspect",
glossary_type = "wp",
shortcuts = {"rcompl"},
}
tags = {
tag_type = "tense-aspect",
glossary = "resultative",
glossary_type = "wp",
shortcuts = {"res"},
wikidata = "Q7316356",
}
tags = {
tag_type = "tense-aspect",
glossary = "semelfactive",
glossary_type = "wp",
shortcuts = {"semf"},
wikidata = "Q7449203",
}
tags = {
tag_type = "tense-aspect",
glossary = "serial",
glossary_type = "wikt",
shortcuts = {"ser"},
}
tags = {
tag_type = "tense-aspect",
glossary = "Swahili grammar#Situational",
glossary_type = "wp",
}
tags = {
tag_type = "tense-aspect",
glossary = "successive",
glossary_type = "wikt",
shortcuts = {"succ"},
}
-- be careful not to clash with terminative case tag
tags = {
tag_type = "tense-aspect",
display = "terminative",
glossary = "Cessative aspect",
glossary_type = "wp",
shortcuts = {"term"},
}
----------------------- Mood -----------------------
tags = {
tag_type = "mood",
glossary = "benedictive",
glossary_type = "wp",
shortcuts = {"bened"},
wikidata = "Q4887358",
}
tags = {
tag_type = "mood",
glossary = "cohortative mood",
glossary_type = "wp",
shortcuts = {"coho", "cohort"},
}
tags = {
tag_type = "mood",
glossary = "concessive",
glossary_type = "wikt",
shortcuts = {"conc"},
}
tags = {
tag_type = "mood",
glossary = "contrafactual",
glossary_type = "wikt",
shortcuts = {"cfact"},
wikidata = "Q110323459"
}
-- Same as the contrafactual, but terminology depends on language.
tags = {
tag_type = "mood",
glossary = "counterfactual",
glossary_type = "wp",
shortcuts = {"counterf"},
-- the following is for "counterfactual conditional"
wikidata = "Q1783264",
}
tags = {
tag_type = "mood",
glossary = "desiderative",
glossary_type = "wp",
shortcuts = {"des", "desid"},
wikidata = "Q1200631",
}
tags = {
tag_type = "mood",
glossary = "dubitative mood",
glossary_type = "wp",
shortcuts = {"dub"},
wikidata = "Q1263049",
}
tags = {
tag_type = "mood",
glossary = "energetic mood",
glossary_type = "wp",
shortcuts = {"ener"},
}
tags = {
tag_type = "mood",
glossary = "inferential mood",
glossary_type = "wp",
shortcuts = {"infer", "infr"},
-- Per ], also called "renarrative mood" or
-- (in Estonian) "oblique mood" (but "renarrative mood" may be different,
-- see its entry).
wikidata = "Q3332616",
}
-- It's not clear that this is exactly a mood, but I'm not sure where
-- else to group it
tags = {
tag_type = "mood",
glossary = "intensive",
glossary_type = "wp",
shortcuts = {"inten"},
-- the following is for "intensive word form"
wikidata = "Q10965321",
}
tags = {
tag_type = "mood",
glossary = "intentional",
glossary_type = "wikt",
shortcuts = {"intent"},
}
tags = {
tag_type = "mood",
glossary = "interrogative",
glossary_type = "wp",
shortcuts = {"interr", "interrog"},
wikidata = "Q12021746",
}
tags = {
tag_type = "mood",
glossary = "necessitative",
glossary_type = "wikt",
shortcuts = {"nec"},
}
tags = {
tag_type = "mood",
glossary = "permissive mood",
glossary_type = "wp",
shortcuts = {"perm"},
wikidata = "Q4351483",
}
tags = {
tag_type = "mood",
glossary = "potential mood",
glossary_type = "wp",
shortcuts = {"potn"},
wikidata = "Q2296856",
}
tags = {
tag_type = "mood",
glossary = "precative",
glossary_type = "wikt",
shortcuts = {"prec"},
}
tags = {
tag_type = "mood",
glossary = "prescriptive",
glossary_type = "wikt",
shortcuts = {"prescr"},
}
tags = {
tag_type = "mood",
glossary = "presumptive mood",
glossary_type = "wp",
shortcuts = {"presump"},
wikidata = "Q25463575",
}
-- Exists at least in Estonian
tags = {
tag_type = "mood",
glossary = "quotative evidential mood",
glossary_type = "wp",
shortcuts = {"quot"},
-- wikidata = "Q7272884", this is for "quotative" morphemes, not the same
}
tags = {
tag_type = "mood",
glossary = "renarrative mood",
glossary_type = "wp",
shortcuts = {"renarr"},
-- Per ], renarrative and inferential mood are the
-- same; but per ], they are different,
-- and Bulgarian has both.
wikidata = "Q3332616",
}
tags = {
tag_type = "mood",
glossary = "volitive mood",
glossary_type = "wp",
shortcuts = {"voli"},
wikidata = "Q10716592",
}
tags = {
tag_type = "mood",
glossary = "voluntative",
glossary_type = "wikt",
shortcuts = {"voln", "volun"},
}
----------------------- Voice/valence -----------------------
tags = {
tag_type = "voice-valence",
glossary = "antipassive voice",
glossary_type = "wp",
shortcuts = {"apass", "apasv", "apsv"},
wikidata = "Q287232",
}
tags = {
tag_type = "voice-valence",
glossary = "applicative voice",
glossary_type = "wp",
shortcuts = {"appl"},
wikidata = "Q621634",
}
tags = { -- ("all together") used in Mongolian
tag_type = "voice-valence",
glossary = "cooperative voice",
glossary_type = "wikt",
shortcuts = {"coop"},
wikidata = "Q114033228",
}
tags = { -- ("many together") used in Mongolian
tag_type = "voice-valence",
glossary = "pluritative voice",
glossary_type = "wikt",
shortcuts = {"plur"},
wikidata = "Q114033289",
}
tags = {
tag_type = "voice-valence",
glossary = "reciprocal (grammar)",
glossary_type = "wp",
shortcuts = {"recp", "recip"},
wikidata = "Q1964083",
}
-- Specific to Modern Irish, similar to impersonal
tags = {
tag_type = "voice-valence",
glossary = "autonomous",
glossary_type = "wikt",
shortcuts = {"auton"},
}
----------------------- Non-finite -----------------------
-- be careful not to clash with agentive case tag
tags = {
tag_type = "non-finite",
glossary = "Agent noun",
glossary_type = "wp",
shortcuts = {"ag", "agent"},
}
-- Latin etc.
tags = {
tag_type = "non-finite",
glossary = "gerundive",
glossary_type = "wp",
shortcuts = {"gerv"},
-- Wikidata claims this is a grammatical mood, which is
-- not really correct
wikidata = "Q731298",
}
-- Lithuanian etc.
tags = {
tag_type = "non-finite",
glossary = "gerundive",
glossary_type = "wp",
shortcuts = {"partnec"},
wikidata = "Q731298", -- gerundive
}
-- Old Irish etc.
tags = {
tag_type = "non-finite",
glossary = "gerundive",
glossary_type = "wp",
shortcuts = {"verbnec"},
wikidata = "Q731298", -- gerundive
}
-- Lithuanian-specific adverbial participle type; native term normally
-- used in English
tags = {
tag_type = "non-finite",
glossary = "būdinys",
glossary_type = "wikt",
shortcuts = {"budinys"},
}
-- Lithuanian-specific adverbial participle type; native term normally
-- used in English
tags = {
tag_type = "non-finite",
glossary = "padalyvis",
glossary_type = "wikt",
}
-- Lithuanian-specific adverbial participle type; native term normally
-- used in English
tags = {
tag_type = "non-finite",
glossary = "pusdalyvis",
glossary_type = "wikt",
}
tags = {
tag_type = "non-finite",
glossary = "participle",
shortcuts = {"l-ptcp", "lptcp"},
wikidata = "Q814722", -- "participle"
}
-- Finnish agent participle
tags = {
tag_type = "non-finite",
glossary = "Finnish grammar#Agent participle",
glossary_type = "wp",
shortcuts = {"agentpart"},
}
tags = {
tag_type = "non-finite",
glossary = "converb",
glossary_type = "wp",
shortcuts = {"conv"},
wikidata = "Q149761",
}
tags = {
tag_type = "non-finite",
glossary = "connegative",
shortcuts = {"conn", "conneg"},
wikidata = "Q5161718",
}
-- Occurs in Hindi as a type of participle used to conjoin two clauses;
-- similarly occurs in Japanese as the "te-form"
tags = {
tag_type = "non-finite",
-- FIXME! No good link for "conjunctive"; another possibility is "converb"
glossary = "serial verb construction",
glossary_type = "wp",
shortcuts = {"conj"},
}
tags = {
tag_type = "non-finite",
glossary = "absolutive",
glossary_type = "wp",
shortcuts = {"absvf"},
}
-- FIXME! Should this be a mood?
tags = {
tag_type = "non-finite",
glossary = "debitive",
glossary_type = "wp",
shortcuts = {"deb"},
wikidata = "Q17119041",
}
----------------------- Case -----------------------
tags = {
tag_type = "case",
glossary = "abessive case",
glossary_type = "wp",
shortcuts = {"abe"},
wikidata = "Q319822",
}
tags = {
tag_type = "case",
glossary = "absolutive case",
glossary_type = "wp",
-- FIXME, find uses of "abs" = absolutive
shortcuts = {"absv"},
wikidata = "Q332734",
}
tags = {
tag_type = "case",
glossary = "adessive case",
glossary_type = "wp",
shortcuts = {"ade"},
wikidata = "Q281954",
}
-- be careful not to clash with adverbial grammar tag
tags = {
tag_type = "case",
display = "adverbial",
glossary = "adverbial case",
glossary_type = "wp",
shortcuts = {"advc"},
}
-- be careful not to clash with agentive non-finite tag
tags = {
tag_type = "case",
display = "agentive",
glossary = "agentive case",
glossary_type = "wp",
shortcuts = {"agc"},
}
tags = {
tag_type = "case",
glossary = "allative case",
glossary_type = "wikt",
shortcuts = {"all"},
wikidata = "Q655020",
}
--No evidence of the existence of this case on the web, and the
--shortcuts are better used elsewhere.
--tags = {
-- tag_type = "case",
-- shortcuts = {"ant"},
--}
tags = {
tag_type = "case",
glossary = "associative case",
glossary_type = "wp",
shortcuts = {"ass", "assoc"},
wikidata = "Q15948746",
}
tags = {
tag_type = "case",
glossary = "benefactive case",
glossary_type = "wp",
shortcuts = {"ben", "bene"},
wikidata = "Q664905",
}
tags = {
tag_type = "case",
glossary = "causal case",
glossary_type = "wp",
shortcuts = {"cauc", "causc"},
wikidata = "Q2943136",
}
tags = {
tag_type = "case",
glossary = "causal-final case",
glossary_type = "wp",
shortcuts = {"cfi", "cfin"},
wikidata = "Q18012653",
}
tags = {
tag_type = "case",
glossary = "comitative case",
glossary_type = "wp",
shortcuts = {"com"},
wikidata = "Q838581",
}
-- be careful not to clash with comparative degree
tags = {
tag_type = "case",
display = "comparative",
glossary = "comparative case",
glossary_type = "wp",
shortcuts = {"comc"},
wikidata = "Q5155633",
}
tags = {
tag_type = "case",
glossary = "delative case",
glossary_type = "wp",
shortcuts = {"del"},
wikidata = "Q1183901",
}
tags = {
tag_type = "case",
glossary = "direct case",
glossary_type = "wp",
shortcuts = {"dir"},
wikidata = "Q1751855",
}
tags = {
tag_type = "case",
glossary = "directive case",
glossary_type = "wikt",
shortcuts = {"dirc"},
wikidata = "Q56526905",
}
tags = {
tag_type = "case",
glossary = "distributive case",
glossary_type = "wp",
shortcuts = {"dis", "dist", "distr"},
wikidata = "Q492457",
}
tags = {
tag_type = "case",
glossary = "elative case",
shortcuts = {"ela"},
wikidata = "Q394253",
}
tags = {
tag_type = "case",
glossary = "ergative case",
shortcuts = {"erg"},
wikidata = "Q324305",
}
-- be careful not to clash with equative degree tag
tags = {
tag_type = "case",
glossary = "equative case",
glossary_type = "wp",
shortcuts = {"equc"},
wikidata = "Q3177653"
}
tags = {
tag_type = "case",
glossary = "essive-formal case",
glossary_type = "wp",
shortcuts = {"esf", "efor"},
wikidata = "Q3827688",
}
tags = {
tag_type = "case",
glossary = "essive-modal case",
glossary_type = "wp",
shortcuts = {"esm", "emod"},
wikidata = "Q3827703",
}
tags = {
tag_type = "case",
glossary = "essive case",
glossary_type = "wp",
shortcuts = {"ess"},
wikidata = "Q148465",
}
--No evidence of the existence of this case on the web, and the
--shortcuts are better used elsewhere.
--tags = {
-- tag_type = "case",
-- shortcuts = {"exc", "excl"},
--}
tags = {
tag_type = "case",
glossary = "illative case",
glossary_type = "wp",
shortcuts = {"ill"},
wikidata = "Q474668",
}
tags = {
tag_type = "case",
glossary = "direct case",
glossary_type = "wp",
shortcuts = {"indir"},
-- Same as oblique.
wikidata = "Q1233197",
}
tags = {
tag_type = "case",
glossary = "inessive case",
glossary_type = "wp",
shortcuts = {"ine"},
wikidata = "Q282031",
}
tags = {
tag_type = "case",
glossary = "instructive case",
glossary_type = "wp",
shortcuts = {"ist"},
wikidata = "Q1665275",
}
tags = {
tag_type = "case",
glossary = "lative case",
glossary_type = "wp",
shortcuts = {"lat"},
wikidata = "Q260425",
}
tags = {
tag_type = "case",
glossary = "list of grammatical cases",
glossary_type = "wp",
shortcuts = {"lim"},
wikidata = "Q35870079",
}
tags = {
tag_type = "case",
glossary = "locative-qualitative case",
shortcuts = {"lqu", "lqua"},
}
tags = {
tag_type = "case",
glossary = "objective case",
shortcuts = {"objv"}, -- obj used for "object"
-- Same as oblique.
wikidata = "Q1233197",
}
tags = {
tag_type = "case",
glossary = "oblique case",
shortcuts = {"obl"},
wikidata = "Q1233197",
}
tags = {
tag_type = "case",
glossary = "partitive case",
glossary_type = "wp",
shortcuts = {"ptv", "par"},
wikidata = "Q857325",
}
--certain languages use this term for the abessive
tags = {
tag_type = "case",
glossary = "privative case",
glossary_type = "wp",
shortcuts = {"priv"},
wikidata = "Q319822",
}
tags = {
tag_type = "case",
glossary = "prolative case",
glossary_type = "wp",
shortcuts = {"pro", "prol"},
wikidata = "Q952933",
}
tags = {
tag_type = "case",
glossary = "sociative case",
glossary_type = "wp",
shortcuts = {"soc"},
wikidata = "Q3773161",
}
tags = {
tag_type = "case",
glossary = "subjective case",
glossary_type = "wp",
-- "sub" and "subj" used for subjunctive, "sbj" for "subject"
shortcuts = {"subjv", "sbjv"},
-- Same as nominative.
wikidata = "Q131105",
}
tags = {
tag_type = "case",
glossary = "sublative case",
glossary_type = "wp",
shortcuts = {"sbl", "subl"},
wikidata = "Q2120615",
}
tags = {
tag_type = "case",
glossary = "superessive case",
glossary_type = "wp",
shortcuts = {"spe", "supe"},
wikidata = "Q222355",
}
tags = {
tag_type = "case",
glossary = "temporal case",
glossary_type = "wp",
shortcuts = {"tem", "temp"},
wikidata = "Q3235219",
}
-- be careful not to clash with terminative aspect tag
tags = {
tag_type = "case",
display = "terminative",
glossary = "terminative case",
glossary_type = "wp",
shortcuts = {"ter"},
wikidata = "Q747019",
}
tags = {
tag_type = "case",
glossary = "translative case",
glossary_type = "wp",
shortcuts = {"tra", "tran"},
wikidata = "Q950170",
}
----------------------- State -----------------------
tags = {
tag_type = "state",
glossary = "independent genitive",
glossary_type = "wikt",
shortcuts = {"indgen"},
}
tags = {
tag_type = "state",
glossary = "possessor",
glossary_type = "wikt",
shortcuts = {"posr", "possr"},
}
tags = {
tag_type = "state",
glossary = "reflexive possessive",
glossary_type = "wikt",
shortcuts = {"reflposs", "refl poss"},
}
tags = {
tag_type = "state",
glossary = "substantive",
shortcuts = {"subs", "subst"},
}
----------------------- Degrees of comparison -----------------------
tags = {
tag_type = "comparison",
glossary = "absolute superlative",
glossary_type = "wikt",
shortcuts = {"asupd", "absolute superlative"},
}
tags = {
tag_type = "comparison",
glossary = "relative superlative",
glossary_type = "wikt",
shortcuts = {"rsupd", "relative superlative"},
}
tags = {
tag_type = "comparison",
glossary = "elative",
shortcuts = {"elad"}, -- Can't use "elative" as shortcut because that's already used for the elative case
wikidata = "Q1555419",
}
-- be careful not to clash with equative case tag
tags = {
tag_type = "comparison",
glossary = "equative",
glossary_type = "wp",
shortcuts = {"equd"},
wikidata = "Q5384239",
}
tags = {
tag_type = "comparison",
shortcuts = {"excd"},
}
----------------------- Register -----------------------
tags = {
tag_type = "register",
glossary = "T–V distinction",
glossary_type = "wp",
shortcuts = {"fam"},
}
tags = {
tag_type = "register",
glossary = "T–V distinction",
glossary_type = "wp",
shortcuts = {"pol"},
}
tags = {
tag_type = "register",
-- "intimate" is also a possible formality level in the sociolinguistic
-- register sense.
glossary = "T–V distinction",
glossary_type = "wp",
shortcuts = {"intim"},
}
tags = {
tag_type = "register",
glossary = "register (sociolinguistics)",
glossary_type = "wp",
}
tags = {
tag_type = "register",
glossary = "register (sociolinguistics)",
glossary_type = "wp",
shortcuts = {"inform"},
}
tags = {
tag_type = "register",
glossary = "colloquialism",
glossary_type = "wp",
shortcuts = {"colloq"},
}
tags = {
tag_type = "register",
glossary = "slang",
glossary_type = "wp",
}
tags = {
tag_type = "register",
glossary = "contemporary",
glossary_type = "wikt",
shortcuts = {"conty"},
}
tags = {
tag_type = "register",
glossary = "literary language",
glossary_type = "wp",
shortcuts = {"lit"},
}
tags = {
tag_type = "register",
glossary = "dated",
glossary_type = "wikt",
}
tags = {
tag_type = "register",
glossary = "archaism",
glossary_type = "wp",
shortcuts = {"arch"},
}
tags = {
tag_type = "register",
glossary = "obsolete",
glossary_type = "wikt",
shortcuts = {"obs"},
}
tags = {
tag_type = "register",
glossary = "emphatic",
glossary_type = "wikt",
shortcuts = {"emph"},
}
----------------------- Deixis -----------------------
tags = {
tag_type = "deixis",
glossary = "deixis",
glossary_type = "wp",
shortcuts = {"prox", "prxl"},
}
tags = {
tag_type = "deixis",
glossary = "deixis",
glossary_type = "wp",
shortcuts = {"medl"},
}
tags = {
tag_type = "deixis",
glossary = "deixis",
glossary_type = "wp",
shortcuts = {"dstl"},
}
----------------------- Clusivity -----------------------
tags = {
tag_type = "clusivity",
glossary = "clusivity",
glossary_type = "wp",
shortcuts = {"incl"},
}
tags = {
tag_type = "clusivity",
glossary = "clusivity",
glossary_type = "wp",
shortcuts = {"excl"},
}
tags = {
tag_type = "clusivity",
glossary = "clusivity",
glossary_type = "wp",
shortcuts = {"obv"},
}
----------------------- Inflectional class -----------------------
tags = {
tag_type = "grammar",
glossary = "absolute",
glossary_type = "wikt",
shortcuts = {"abs"},
}
tags = {
tag_type = "grammar",
glossary = "conjunct",
glossary_type = "wp",
shortcuts = {"conjt"},
}
tags = {
tag_type = "grammar",
glossary = "dependent and independent verb forms",
glossary_type = "wp",
shortcuts = {"deut"},
}
tags = {
tag_type = "grammar",
glossary = "dependent and independent verb forms",
glossary_type = "wp",
shortcuts = {"prot"},
}
-- swahili m-wa class (class 1/2)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#M-wa_class",
glossary_type = "wikt",
shortcuts = {"m-wa"},
}
-- swahili m-mi class (class 3/4)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#M-mi_class",
glossary_type = "wikt",
shortcuts = {"m-mi"},
}
-- swahili ji-ma class (class 5/6)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Ma_class",
glossary_type = "wikt",
shortcuts = {"ji-ma"},
}
-- swahili ki-vi class (class 7/8)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Ki-vi_class",
glossary_type = "wikt",
shortcuts = {"ki-vi"},
}
-- swahili n-n class (class 9/10)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#N_class",
glossary_type = "wikt",
shortcuts = {"n-n"},
}
-- swahili u-n/u-u class (class 11/14)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#U_class",
glossary_type = "wikt",
shortcuts = {"u-n", "u-u"},
}
-- swahili ku class (class 15)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Ku_class",
glossary_type = "wikt",
shortcuts = {"ku"},
}
-- swahili pa locative class (class 16)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Pa_locative_class",
glossary_type = "wikt",
shortcuts = {"pa"},
}
-- swahili ku locative class (class 17)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Ku_locative_class",
glossary_type = "wikt",
shortcuts = {"ku-loc"},
}
-- swahili mu locative class (class 18)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Mu_locative_class",
glossary_type = "wikt",
shortcuts = {"mu"},
}
-- swahili m-wa class (class 1/2)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#M-wa_class",
glossary_type = "wikt",
shortcuts = {"m-wa_obj"},
}
-- swahili m-mi class (class 3/4)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#M-mi_class",
glossary_type = "wikt",
shortcuts = {"m-mi_obj"},
}
-- swahili ji-ma class (class 5/6)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Ma_class",
glossary_type = "wikt",
shortcuts = {"ji-ma_obj"},
}
-- swahili ki-vi class (class 7/8)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Ki-vi_class",
glossary_type = "wikt",
shortcuts = {"ki-vi_obj"},
}
-- swahili n-n class (class 9/10)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#N_class",
glossary_type = "wikt",
shortcuts = {"n-n_obj"},
}
-- swahili u-n/u-u class (class 11/14)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#U_class",
glossary_type = "wikt",
shortcuts = {"u-n_obj", "u-u_obj"},
}
-- swahili ku class (class 15)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Ku_class",
glossary_type = "wikt",
shortcuts = {"ku_obj"},
}
-- swahili pa locative class (class 16)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Pa_locative_class",
glossary_type = "wikt",
shortcuts = {"pa_obj"},
}
-- swahili ku locative class (class 17)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Ku_locative_class",
glossary_type = "wikt",
shortcuts = {"ku-loc_obj"},
}
-- swahili mu locative class (class 18)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Mu_locative_class",
glossary_type = "wikt",
shortcuts = {"mu_obj"},
}
-- swahili m-wa class (class 1/2)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#M-wa_class",
glossary_type = "wikt",
shortcuts = {"m-wa_rel"},
}
-- swahili m-mi class (class 3/4)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#M-mi_class",
glossary_type = "wikt",
shortcuts = {"m-mi_rel"},
}
-- swahili ji-ma class (class 5/6)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Ma_class",
glossary_type = "wikt",
shortcuts = {"ji-ma_rel"},
}
-- swahili ki-vi class (class 7/8)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Ki-vi_class",
glossary_type = "wikt",
shortcuts = {"ki-vi_rel"},
}
-- swahili n-n class (class 9/10)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#N_class",
glossary_type = "wikt",
shortcuts = {"n-n_rel"},
}
-- swahili u-n/u-u class (class 11/14)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#U_class",
glossary_type = "wikt",
shortcuts = {"u-n_rel", "u-u_rel"},
}
-- swahili ku class (class 15)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Ku_class",
glossary_type = "wikt",
shortcuts = {"ku_rel"},
}
-- swahili pa locative class (class 16)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Pa_locative_class",
glossary_type = "wikt",
shortcuts = {"pa_rel"},
}
-- swahili ku locative class (class 17)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Ku_locative_class",
glossary_type = "wikt",
shortcuts = {"ku-loc_rel"},
}
-- swahili mu locative class (class 18)
tags = {
tag_type = "grammar",
glossary = "Appendix:Swahili_noun_classes#Mu_locative_class",
glossary_type = "wikt",
shortcuts = {"mu_rel"},
}
----------------------- Attitude -----------------------
tags = {
tag_type = "attitude",
-- FIXME! No good glossary entry for this; the entry for "hypocoristic"
-- refers specifically to proper names.
glossary = "hypocoristic",
glossary_type = "wp",
shortcuts = {"end"},
wikidata = "Q1130279", -- entry for "hypocorism"
}
tags = {
tag_type = "attitude",
glossary = "moderative",
glossary_type = "wikt",
shortcuts = {"moder"},
}
----------------------- Sound changes -----------------------
tags = {
tag_type = "sound change",
glossary = "Alliteration",
glossary_type = "wp",
wikidata = "Q484495",
}
tags = {
tag_type = "sound change",
glossary = "Back vowel",
glossary_type = "wp",
wikidata = "Q853589",
}
tags = {
tag_type = "sound change",
glossary = "Front vowel",
glossary_type = "wp",
wikidata = "Q5505949",
}
tags = {
tag_type = "sound change",
glossary = "Roundedness",
glossary_type = "wp",
shortcuts = {"round"},
}
tags = {
tag_type = "sound change",
glossary = "sigmatic",
glossary_type = "wikt",
shortcuts = {"sigm"},
}
tags = {
tag_type = "sound change",
glossary = "Roundedness",
glossary_type = "wp",
shortcuts = {"unround"},
}
tags = {
tag_type = "sound change",
glossary = "vowel harmony",
glossary_type = "wp",
shortcuts = {"vharm"},
wikidata = "Q147137",
}
----------------------- Misc grammar -----------------------
tags = {
tag_type = "grammar",
glossary = "relative",
glossary_type = "wikt",
shortcuts = {"rel"},
}
tags = {
tag_type = "grammar",
glossary = "synthetic",
glossary_type = "wikt",
shortcuts = {"synth"},
}
tags = {
tag_type = "grammar",
glossary = "analytic",
glossary_type = "wikt",
shortcuts = {"anal", "analytical"},
}
tags = {
tag_type = "grammar",
glossary = "periphrastic",
glossary_type = "wikt",
shortcuts = {"peri"},
}
tags = {
tag_type = "grammar",
glossary = "affirmation and negation",
glossary_type = "wp",
shortcuts = {"aff"},
}
tags = {
tag_type = "grammar",
glossary = "possessive affix",
glossary_type = "wp",
shortcuts = {"possd", "possed"}, -- posd = positive degree
wikidata = "Q804020", -- for possessive affix
}
tags = {
tag_type = "grammar",
glossary = "possessive affix",
glossary_type = "wp",
shortcuts = {"npossd", "npossed", "nonpossessed"},
}
tags = {
tag_type = "grammar",
glossary = "possessive affix",
glossary_type = "wp",
shortcuts = {"posaf", "possaf"},
wikidata = "Q804020",
}
tags = {
tag_type = "grammar",
glossary = "possessive affix",
glossary_type = "wp",
shortcuts = {"possuf"},
wikidata = "Q804020",
}
tags = {
tag_type = "grammar",
glossary = "possessive affix",
glossary_type = "wp",
shortcuts = {"pospref", "posspref"},
wikidata = "Q804020",
}
tags = {
tag_type = "grammar",
glossary = "prefix",
shortcuts = {"pref"}, -- pre = prepositional
wikidata = "Q134830",
}
tags = {
tag_type = "grammar",
glossary = "prefixal",
glossary_type = "wikt",
shortcuts = {"prefl"}, -- pre = prepositional
wikidata = "Q134830",
}
tags = {
tag_type = "grammar",
glossary = "suffix",
shortcuts = {"suf", "suff"},
wikidata = "Q102047",
}
tags = {
tag_type = "grammar",
glossary = "suffixal",
glossary_type = "wikt",
shortcuts = {"sufl", "suffl"},
wikidata = "Q102047",
}
tags = {
tag_type = "grammar",
glossary = "affix",
glossary_type = "wp",
shortcuts = {"af"}, -- aff = affirmative
wikidata = "Q62155",
}
tags = {
tag_type = "grammar",
glossary = "affixal",
glossary_type = "wikt",
shortcuts = {"afl"}, -- aff = affirmative
wikidata = "Q62155",
}
tags = {
tag_type = "grammar",
glossary = "circumfix",
glossary_type = "wp",
shortcuts = {"circ", "cirf", "circf"},
wikidata = "Q124939",
}
tags = {
tag_type = "grammar",
glossary = "circumfixal",
glossary_type = "wikt",
shortcuts = {"circl", "cirfl", "circfl"},
wikidata = "Q124939",
}
tags = {
tag_type = "grammar",
glossary = "infix",
glossary_type = "wp",
shortcuts = {"infx"},
wikidata = "Q201322",
}
tags = {
tag_type = "grammar",
glossary = "infixal",
glossary_type = "wikt",
shortcuts = {"infxl"},
wikidata = "Q201322",
}
tags = {
tag_type = "grammar",
glossary = "subject",
shortcuts = {"sbj"}, -- sub and subj used for subjunctive
}
tags = {
tag_type = "grammar",
glossary = "object",
shortcuts = {"obj"},
}
tags = {
tag_type = "grammar",
glossary = "nonfinite",
shortcuts = {"nonfin"},
wikidata = "Q1050494", -- entry for "non-finite verb"
}
tags = {
tag_type = "grammar",
glossary = "tense",
wikidata = "Q177691",
}
tags = {
tag_type = "grammar",
glossary = "tenseless",
glossary_type = "wikt",
}
tags = {
tag_type = "grammar",
glossary = "aspect",
shortcuts = {"asp"},
wikidata = "Q208084",
}
tags = {
tag_type = "grammar",
glossary = "augment",
wikidata = "Q760437",
}
tags = {
tag_type = "grammar",
glossary = "augment",
wikidata = "Q760437",
}
----------------------- Other tags -----------------------
tags = { -- Unicode en-dash
tag_type = "other",
no_space_on_left = true,
no_space_on_right = true,
}
tags = { -- Unicode em-dash
tag_type = "other",
no_space_on_left = true,
no_space_on_right = true,
}
----------------------- Create the shortcuts list -----------------------
for name, data in pairs(tags) do
if data.shortcuts then
for _, shortcut in ipairs(data.shortcuts) do
-- If the shortcut is already in the list, then there is a duplicate.
if shortcuts then
error("The shortcut \"" .. shortcut .. "\" (for the grammar tag \"" .. name .. "\") conflicts with an existing shortcut for the tag \"" .. shortcuts .. "\".")
elseif tags then
error("The shortcut \"" .. shortcut .. "\" (for the grammar tag \"" .. name .. "\") conflicts with an existing tag with that name.")
end
shortcuts = name
end
end
end
return {tags = tags, shortcuts = shortcuts}
-- For Vim, so we get 4-space tabs
-- vim: set ts=4 sw=4 noet: