45,645
edits
No edit summary |
No edit summary |
||
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( | local stemr = sub(stem, -1) == "m" and stem .. "b" or args[1] | ||
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( | local stemr = sub(stem, -1) == "m" and stem .. "b" or args[1] | ||
local z = sub(stem, -2) == "rz" | local z = sub(stem, -2) == "rz" | ||
local stemz = sub(stem, 1, -3) | local stemz = sub(stem, 1, -3) |