Module:gender and number/data: Difference between revisions
Created page with "local data = {} local insert = table.insert -- A list of all possible "parts" that a specification can be made out of. For each part, we list the class it's in -- (gender, animacy, etc.), the associated category (if any) and the display form. In a given gender/number spec, only -- one part of each class is allowed. `display` is how the code is diplayed to the user and should normally be wrapped -- in <abbr title="tooltip">...</abbr> with an explanatory tooltip. If not,..." |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 47: | Line 47: | ||
-- Numbers | -- Numbers | ||
["s"] = {type = "number", display = '<abbr title="singular number">sg</abbr>'}, | ["s"] = {type = "number", display = ""}, --, display = '<abbr title="singular number">sg</abbr>'}, | ||
["d"] = {type = "number", cat = "dualia tantum", display = '<abbr title="dual number">du</abbr>'}, | ["d"] = {type = "number", cat = "dualia tantum", display = '<abbr title="dual number">du</abbr>'}, | ||
["p"] = {type = "number", cat = "pluralia tantum", display = '<abbr title="plural number">pl</abbr>'}, | ["p"] = {type = "number", cat = "pluralia tantum", display = '<abbr title="plural number">pl</abbr>'}, | ||