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"] = {expansion = "", wikipage = ""}, | |||
["1"] = {expansion = "first person", wikipage = "Grammatical person"}, | |||
["2"] = {expansion = "second person", wikipage = "Grammatical person"}, | |||
["3"] = {expansion = "third person", wikipage = "grammatical person"}, | |||
["4"] = {expansion = "fourth person", wikipage = "grammatical person"}, | |||
["3O"] = {expansion = "third person object", wikipage = "grammatical person"}, | |||
["3S"] = {expansion = "third person subject", wikipage = "grammatical person"}, | |||
["4O"] = {expansion = "fourth person object", wikipage = "grammatical person"}, | |||
["4S"] = {expansion = "fourth person subject", wikipage = "grammatical person"}, | |||
["3OBV"] = {expansion = "third person obviative", wikipage = "Obviative"}, | |||
["A"] = {expansion = "agent-like argument of canonical transitive verb", wikipage = "A (glossing abbreviation)", ExcludeNegation = true}, | |||
["ABE"] = {expansion = "abessive case ('without')", wikipage = "abessive case"}, | |||
["ABL"] = {expansion = "ablative case", wikipage = "ablative case"}, | |||
["ABS"] = {expansion = "absolutive case", wikipage = "absolutive case"}, | |||
["ACC"] = {expansion = "accusative case", wikipage = "accusative case"}, | |||
["ACCOM"] = {expansion = "accompanier", wikipage = ""}, | |||
["ACT"] = {expansion = "active/actor", wikipage = "active voice", ambiguous = true}, | |||
["ADJ | |||
} | } | ||
return {abbreviations = abbreviations} | |||
return abbreviations | |||