Module:qhv-adj/data: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 174: Line 174:
setmetatable(d["II"], {__call = function(self, args, data)
setmetatable(d["II"], {__call = function(self, args, data)
local stem = args[1]
local stem = args[1]
local stemm = sub(stem, -1) == "n" and sub(stem, 1, -2) .. "m" or stemny
local stemm = (sub(stem, -1) == "n" or sub(stem, -1) == "ñ") and sub(stem, 1, -2) .. "m" or stem
local ny = sub(stem, -1) == "ñ"
local ny = sub(stem, -1) == "ñ"
local stemny = sub(stem, 1, -2) .. "n" or stem
local stemny = sub(stem, 1, -2) .. "n" or stem
Line 180: Line 180:
table.insert(data.categories, "High Valyrian class-II adjectives")
table.insert(data.categories, "High Valyrian class-II adjectives")


data.forms["eq"] = {stemny .. "pa"}
data.forms["eq"] = {stem .. "pa"}
data.forms["comp"] = {stemny .. "kta"}
data.forms["comp"] = {stemny .. "kta"}
data.forms["sup"] = {stemny .. "je"}
data.forms["sup"] = {stemny .. "je"}

Navigation menu