45,647
edits
No edit summary |
No edit summary |
||
Line 64: | Line 64: | ||
setmetatable(alldata["1-a"], {__call = function(self, args, data) | setmetatable(alldata["1-a"], {__call = function(self, args, data) | ||
local stem = args[1] | local stem = args[1] | ||
local stemr = sub(stem, -1) == "m" and sub(stem, 1, -2) .. "b" or stem | local stemr = sub(stem, -1) == "m" and sub(stem, 1, -2) .. "b" or sub(stem, -1) == "n" and sub(stem, 1, -2) .. "d" or stem | ||
data.decl_type = "aquatic first-declension" | data.decl_type = "aquatic first-declension" | ||
table.insert(data.categories, "High Valyrian first-declension " .. (data.proper and "proper " or "") .. "nouns") | table.insert(data.categories, "High Valyrian first-declension " .. (data.proper and "proper " or "") .. "nouns") | ||
Line 531: | Line 531: | ||
setmetatable(alldata["3-a"], {__call = function(self, args, data) | setmetatable(alldata["3-a"], {__call = function(self, args, data) | ||
local stem = args[1] | local stem = args[1] | ||
local stemr = sub(stem, -1) == "m" and sub(stem, 1, -2) .. "b" or stem | local stemr = sub(stem, -1) == "m" and sub(stem, 1, -2) .. "b" or sub(stem, -1) == "n" and sub(stem, 1, -2) .. "d" or stem | ||
data.decl_type = "aquatic third-declension" | data.decl_type = "aquatic third-declension" | ||
table.insert(data.categories, "High Valyrian third-declension " .. (data.proper and "proper " or "") .. "nouns") | table.insert(data.categories, "High Valyrian third-declension " .. (data.proper and "proper " or "") .. "nouns") | ||
Line 838: | Line 838: | ||
setmetatable(alldata["5-a"], {__call = function(self, args, data) | setmetatable(alldata["5-a"], {__call = function(self, args, data) | ||
local stem = args[1] | local stem = args[1] | ||
local stemr = sub(stem, -1) == "m" and sub(stem, 1, -2) .. "b" or stem | local stemr = sub(stem, -1) == "m" and sub(stem, 1, -2) .. "b" or sub(stem, -1) == "n" and sub(stem, 1, -2) .. "d" or stem | ||
local z = sub(stem, -2) == "rz" | local z = sub(stem, -2) == "rz" | ||
local stemz = sub(stem, 1, -3) | local stemz = sub(stem, 1, -3) |