Module:interlinear/data: Difference between revisions

No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
--[[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
will discard the "N" and search again, returning the result prefixed with "non-" (ex. "NFUT"
is not found, so it will search for "FUT" and return "non-future"). A few abbreviations
are exempt from this behaviour and they're marked by the ExcludeNegation key.]]--
local abbreviations = {
local abbreviations = {
["0"] = {tooltip = "", wikipage = ""},
["0"] = {expansion = "", wikipage = ""},
["1"] = {tooltip = "first person", wikipage = "Grammatical person"},
["1"] = {expansion = "first person", wikipage = "Grammatical person"},
["2"] = {tooltip = "second person", wikipage = "Grammatical person"},
["2"] = {expansion = "second person", wikipage = "Grammatical person"},
["3"] = {tooltip = "third person", wikipage = "grammatical person"},
["3"] = {expansion = "third person", wikipage = "grammatical person"},
["3OBV"] = {tooltip = "third person obviative", wikipage = "Obviative"},
["4"] = {expansion = "fourth person", wikipage = "grammatical person"},
["A"] = {tooltip = "agent-like argument of canonical transitive verb", wikipage = "A (glossing abbreviation)"},
["3O"] = {expansion = "third person object", wikipage = "grammatical person"},
["ABE"] = {tooltip = "abessive case ('without')", wikipage = "abessive case"},
["3S"] = {expansion = "third person subject", wikipage = "grammatical person"},
["ABL"] = {tooltip = "ablative case", wikipage = "ablative case"},
["4O"] = {expansion = "fourth person object", wikipage = "grammatical person"},
["ABS"] = {tooltip = "absolutive case", wikipage = "absolutive case"},
["4S"] = {expansion = "fourth person subject", wikipage = "grammatical person"},
["ACC"] = {tooltip = "accusative case", wikipage = "accusative case"},
["3OBV"] = {expansion = "third person obviative", wikipage = "Obviative"},
["ACCOM"] = {tooltip = "accompanier", wikipage = ""},
["A"] = {expansion = "agent-like argument of canonical transitive verb", wikipage = "A (glossing abbreviation)",  ExcludeNegation = true},
["ACT"] = {tooltip = "active/actor", wikipage = "active voice", ambiguous = true},
["ABE"] = {expansion = "abessive case ('without')", wikipage = "abessive case"},
["ADJ"] = {tooltip = "adjective", wikipage = "adjective"},
["ABL"] = {expansion = "ablative case", wikipage = "ablative case"},
["ADE"] = {tooltip = "adessive case", wikipage = "adessive case"},
["ABS"] = {expansion = "absolutive case", wikipage = "absolutive case"},
["ADM"] = {tooltip = "admonitive mood (warning)", wikipage = "Admonitive mood", ambiguous = true}, -- admonitive or admirative?
["ACC"] = {expansion = "accusative case", wikipage = "accusative case"},
["ADMON"] = {tooltip = "admonitive mood (warning)
["ACCOM"] = {expansion = "accompanier", wikipage = ""},
["ACT"] = {expansion = "active/actor", wikipage = "active voice", ambiguous = true},
["ADJ
}
}
 
return {abbreviations = abbreviations}
return abbreviations