Module:qhv-noun/data: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 11: Line 11:
setmetatable(alldata["1-l"], {__call = function(self, args, data)
setmetatable(alldata["1-l"], {__call = function(self, args, data)
local stem = args[1]
local stem = args[1]
if sub(stem, -1) == "i" then local i = true end
local i = sub(stem, -1) == "i"
data.decl_type = "lunar first-declension"
data.decl_type = "lunar first-declension"
table.insert(data.categories, "High Valyrian first-declension nouns")
table.insert(data.categories, "High Valyrian first-declension nouns")
Line 216: Line 216:
setmetatable(alldata["3-l"], {__call = function(self, args, data)
setmetatable(alldata["3-l"], {__call = function(self, args, data)
local stem = args[1]
local stem = args[1]
if sub(stem, -1) == "i" then local i = true end
local i = sub(stem, -1) == "i"
data.decl_type = "lunar third-declension"
data.decl_type = "lunar third-declension"
table.insert(data.categories, "High Valyrian third-declension nouns")
table.insert(data.categories, "High Valyrian third-declension nouns")
Line 421: Line 421:
setmetatable(alldata["3-t"], {__call = function(self, args, data)
setmetatable(alldata["3-t"], {__call = function(self, args, data)
local stem = args[1]
local stem = args[1]
if sub(stem, -1) == "i" then local i = true end
local i = sub(stem, -1) == "i"
data.decl_type = "terrestrial third-declension"
data.decl_type = "terrestrial third-declension"
table.insert(data.categories, "High Valyrian third-declension nouns")
table.insert(data.categories, "High Valyrian third-declension nouns")
Line 779: Line 779:
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]
if sub(stem, -1) == "z" then local z = true end
local z = sub(stem, -1) == "z"
data.decl_type = "aquatic fifth-declension"
data.decl_type = "aquatic fifth-declension"
table.insert(data.categories, "High Valyrian fifth-declension nouns")
table.insert(data.categories, "High Valyrian fifth-declension nouns")

Navigation menu