A modult a Modul:form of/data2/doc lapon tudod dokumentálni
--[=[
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 -----------------------
----------------------- Number -----------------------
tags = {
tag_type = "number",
glossary = "trial number",
shortcuts = {"tri"},
wikidata = "Q2142560",
}
tags = {
tag_type = "number",
glossary = "paucal number",
shortcuts = {"pau"},
wikidata = "Q489410",
}
tags = {
tag_type = "number",
glossary = "distributive paucal number",
shortcuts = {"dpau"},
}
tags = {
tag_type = "number",
glossary = "singulative number",
shortcuts = {"sgl"},
wikidata = "Q1450795",
}
tags = {
tag_type = "number",
glossary = "collective number",
shortcuts = {"col"},
wikidata = "Q694268",
}
----------------------- 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 = "habitual aspect",
glossary_type = "wp",
shortcuts = {"hab"},
wikidata = "Q5636904",
}
tags = {
tag_type = "tense-aspect",
glossary = "continuous aspect",
glossary_type = "wp",
shortcuts = {"cont"},
wikidata = "Q12721117",
}
tags = {
tag_type = "tense-aspect",
glossary = "semelfactive",
glossary_type = "wp",
shortcuts = {"semf"},
wikidata = "Q7449203",
}
tags = {
tag_type = "tense-aspect",
glossary = "relative and absolute tense",
glossary_type = "wp",
shortcuts = {"ant"},
}
tags = {
tag_type = "tense-aspect",
glossary = "relative and absolute tense",
glossary_type = "wp",
shortcuts = {"post"},
}
tags = {
tag_type = "tense-aspect",
glossary = "frequentative",
glossary_type = "wp",
shortcuts = {"freq"},
wikidata = "Q467562",
}
tags = {
tag_type = "tense-aspect",
glossary = "iterative aspect",
glossary_type = "wp",
shortcuts = {"iter"},
wikidata = "Q2866772",
}
-- Type of participle in Hindi; also called agentive or agentive-prospective
tags = {
tag_type = "tense-aspect",
glossary = "prospective aspect",
glossary_type = "wp",
shortcuts = {"pros"},
}
-- Aspect in Tagalog
tags = {
tag_type = "tense-aspect",
glossary = "Tagalog grammar#Aspect",
glossary_type = "wp",
shortcuts = {"contem"},
}
-- 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"},
}
-- 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 = "Gnomic aspect",
glossary_type = "wp",
}
tags = {
tag_type = "tense-aspect",
glossary = "Swahili grammar#Consecutive",
glossary_type = "wp",
}
tags = {
tag_type = "tense-aspect",
glossary = "Swahili grammar#Situational",
glossary_type = "wp",
}
----------------------- Mood -----------------------
tags = {
tag_type = "mood",
glossary = "potential mood",
glossary_type = "wp",
shortcuts = {"potn"},
wikidata = "Q2296856",
}
tags = {
tag_type = "mood",
glossary = "cohortative mood",
glossary_type = "wp",
shortcuts = {"coho", "cohort"},
}
tags = {
tag_type = "mood",
glossary = "energetic mood",
glossary_type = "wp",
shortcuts = {"ener"},
}
tags = {
tag_type = "mood",
glossary = "volitive mood",
glossary_type = "wp",
shortcuts = {"voli"},
wikidata = "Q10716592",
}
-- 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 = "desiderative",
glossary_type = "wp",
shortcuts = {"des", "desid"},
wikidata = "Q1200631",
}
-- 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",
}
-- 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 = "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",
}
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",
}
----------------------- 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 = {
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 -----------------------
-- 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"
}
tags = {
tag_type = "non-finite",
glossary = "converb",
glossary_type = "wikt",
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"},
}
-- 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"},
}
tags = {
tag_type = "case",
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 = "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",
}
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 = "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",
}
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",
}
tags = {
tag_type = "case",
glossary = "terminative case",
glossary_type = "wp",
shortcuts = {"ter", "term"},
wikidata = "Q747019",
}
tags = {
tag_type = "case",
glossary = "translative case",
glossary_type = "wp",
shortcuts = {"tra", "tran"},
wikidata = "Q950170",
}
----------------------- State -----------------------
----------------------- 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",
}
tags = {
tag_type = "comparison",
glossary = "equative",
glossary_type = "wp",
shortcuts = {"equd", "equative"},
wikidata = "Q5384239",
}
----------------------- 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"
}
----------------------- Sound changes -----------------------
----------------------- 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: