45,333
edits
No edit summary |
No edit summary |
||
Line 60: | Line 60: | ||
local param_mods = {"t", "alt", "tr", "ts", "pos", "lit", "id", "sc", "g", "q", "eq"} | local param_mods = {"t", "alt", "tr", "ts", "pos", "lit", "id", "sc", "g", "q", "eq"} | ||
local param_mod_set = m_table.listToSet(param_mods) | local param_mod_set = m_table.listToSet(param_mods) | ||
Line 324: | Line 319: | ||
suffix = from | suffix = from | ||
end | end | ||
end | end | ||
return prefix, suffix | return prefix, suffix | ||
Line 548: | Line 539: | ||
end | end | ||
local function insert_cats_gender(g) | local function insert_cats_gender(g) | ||
if g ~= "male" and g ~= "female" and g ~= "unisex" then | if g ~= "male" and g ~= "female" and g ~= "unisex" then | ||
error("Unrecognized gender: " .. g) | error("Unrecognized gender: " .. g) |