Module:interlinear/data: Difference between revisions

No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
local abbreviations = {}
--[[The table here is traversed by the function that expands glossing abbreviations.
 
If the abbreviation isn't found in this list and it begins with an "N" then the function
abbreviations["1"] = {tooltip = "first person"}
will discard the "N" and search again, returning the result prefixed with "non-" (ex. "NFUT"
abbreviations["2"] = {tooltip = "second person"}
is not found, so it will search for "FUT" and return "non-future"). A few abbreviations
abbreviations["3"] = {tooltip = "third person"}
are exempt from this behaviour and they're marked by the ExcludeNegation key.]]--
abbreviations["3OBV"] = {tooltip = "third person obviative"}
local abbreviations = {
abbreviations["A"] = {tooltip = "agent-like argument of canonical transitive verb"}
["0"] = {expansion = "", wikipage = ""},
abbreviations["ABE"] = {tooltip = "abessive case ('without')"}
["1"] = {expansion = "first person", wikipage = "Grammatical person"},
abbreviations["ABL"] = {tooltip = "ablative case"}
["2"] = {expansion = "second person", wikipage = "Grammatical person"},
abbreviations["ABS"] = {tooltip = "absolutive case"}
["3"] = {expansion = "third person", wikipage = "grammatical person"},
abbreviations["ACC"] = {tooltip = "accusative case"}
["4"] = {expansion = "fourth person", wikipage = "grammatical person"},
abbreviations["ACCOM"] = {tooltip = "accompanier"}
["3O"] = {expansion = "third person object", wikipage = "grammatical person"},
abbreviations["ACT"] = {tooltip = "active/actor", ambiguous = true}
["3S"] = {expansion = "third person subject", wikipage = "grammatical person"},
abbreviations["ADJ"] = {tooltip = "adjective"}
["4O"] = {expansion = "fourth person object", wikipage = "grammatical person"},
abbreviations["ADE"] = {tooltip = "adessive case"}
["4S"] = {expansion = "fourth person subject", wikipage = "grammatical person"},
abbreviations["ADM"] = {tooltip = "admonitive mood (warning)"}
["3OBV"] = {expansion = "third person obviative", wikipage = "Obviative"},
abbreviations["ADV"] = {tooltip = "adverb(ial)", ambiguous = true}
["A"] = {expansion = "agent-like argument of canonical transitive verb", wikipage = "A (glossing abbreviation)",  ExcludeNegation = true},
abbreviations["AFF"] = {tooltip = "affirmative"}
["ABE"] = {expansion = "abessive case ('without')", wikipage = "abessive case"},
abbreviations["AG"] = {tooltip = "agentive case"}
["ABL"] = {expansion = "ablative case
abbreviations["AGT"] = {tooltip = "agentive case"}
abbreviations["AGR"] = {tooltip = "agreement"}
abbreviations["ALL"] = {tooltip = "allative case ('to')"}
abbreviations["AL"] = {tooltip = "allocutive agreement"}
abbreviations["ALLOC"] = {tooltip = "allocutive agreement"}
abbreviations["