|
|
Line 1: |
Line 1: |
| local export = {} | | local export = {} |
|
| |
|
| local available_genders = { | | local available_genders = mw.loadData("Module:gender and number/data") |
| ["n"] = {label = "n", hint = "neuter gender", category = "neuter %", group = "gender"},
| |
| ["f"] = {label = "f", hint = "feminine gender", category = "feminine %", group = "gender"},
| |
| ["m"] = {label = "m", hint = "masculine gender", category = "masculine %", group = "gender"},
| |
| ["c"] = {label = "c", hint = "common gender", category = "common %", group = "gender"},
| |
| ["d"] = {label = "du", hint = "duale tantum", category = "dualia tantum", group = "number"},
| |
| ["p"] = {label = "pl", hint = "plurale tantum", category = "pluralia tantum", group = "number"},
| |
| ["s"] = {label = "sg", hint = "singular number", category = nil, group = "number"},
| |
| ["in"] = {label = "inan", hint = "inanimate", category = "inanimate %", group = "animacy"},
| |
| ["an"] = {label = "anim", hint = "animate", category = "animate %", group = "animacy"},
| |
| ["pr"] = {label = "pers", hint = "personal", category = "personal %", group = "animacy"},
| |
| ["np"] = {label = "npers", hint = "nonpersonal", category = "nonpersonal %", group = "animacy"},
| |
| ["anml"] = {label = "animal", hint = "animal", category = "animal %", group = "animacy"},
| |
| ["nv"] = {label = "nvir", hint = "nonvirile", category = "nonvirile %", group = "virility"},
| |
| ["vr"] = {label = "vir", hint = "virile", category = "virile %", group = "virility"},
| |
| ["impf"] = {label = "impf", hint = "imperfective aspect", category = "imperfective %", group = "aspect"},
| |
| ["pf"] = {label = "pf", hint = "perfective aspect", category = "perfective %", group = "aspect"},
| |
| ["?"] = {label = "?", hint = "gender incomplete", category = nil, group = "other"},
| |
| ["?!"] = {label = "gender unattested", hint = "gender unattested", category = nil, group = "other"}
| |
| }
| |
| local combinations = { | | local combinations = { |
| ["mf"] = {"m", "or", "f"}, | | ["mf"] = {"m", "or", "f"}, |