Module:qhv-adj/data: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 178: Line 178:
local stemj = sub(stem, -2) == "ēj" and sub(stem, 1, -3) .. "ī" or stem
local stemj = sub(stem, -2) == "ēj" and sub(stem, 1, -3) .. "ī" or stem
local stemm = sub(stem, -1) == "n" and sub(stem, 1, -2) .. "m" or sub(stem, -1) == "ñ" and sub(stem, 1, -2) .. "m" or stemj
local stemm = sub(stem, -1) == "n" and sub(stem, 1, -2) .. "m" or sub(stem, -1) == "ñ" and sub(stem, 1, -2) .. "m" or stemj
local stemny = sub(stem, -1) == "ñ" and sub(stem, 1, -2) .. "n" or stemj
local ny = sub(stem, -1) == "ñ"; local j = sub(stem, -1) == "j"
local stemny = ny and sub(stem, 1, -2) .. "n" or stemj
data.decl_type = "II"
data.decl_type = "II"
Line 196: Line 197:
data.forms["voc_l_sg"] = {stem .. "es"}
data.forms["voc_l_sg"] = {stem .. "es"}
data.forms["nom_t_sg"] = {stem .. (ny and "or" or "ior")}
data.forms["nom_t_sg"] = {stem .. ((ny or j) and "or" or "ior")}
data.forms["acc_t_sg"] = data.forms["nom_t_sg"]
data.forms["acc_t_sg"] = data.forms["nom_t_sg"]
data.forms["gen_t_sg"] = {stem .. "ȳr"}
data.forms["gen_t_sg"] = {stem .. "ȳr"}
Line 203: Line 204:
data.forms["ins_t_sg"] = {stem .. "ȳs"}
data.forms["ins_t_sg"] = {stem .. "ȳs"}
data.forms["com_t_sg"] = {stem .. "ȳn", stem .. "ȳm"}
data.forms["com_t_sg"] = {stem .. "ȳn", stem .. "ȳm"}
data.forms["voc_t_sg"] = {stem .. (ny and "os" or "ios")}
data.forms["voc_t_sg"] = {stem .. ((ny or j) and "os" or "ios")}
data.forms["nom_l_pl"] = {stem .. "i"}
data.forms["nom_l_pl"] = {stem .. "i"}
Line 214: Line 215:
data.forms["voc_l_pl"] = {stem .. "is"}
data.forms["voc_l_pl"] = {stem .. "is"}
data.forms["nom_t_pl"] = {stem .. (ny and "ar" or "iar")}
data.forms["nom_t_pl"] = {stem .. ((ny or j) and "ar" or "iar")}
data.forms["acc_t_pl"] = data.forms["nom_t_pl"]
data.forms["acc_t_pl"] = data.forms["nom_t_pl"]
data.forms["gen_t_pl"] = {stem .. "ȳ", stem .. "ȳt"}
data.forms["gen_t_pl"] = {stem .. "ȳ", stem .. "ȳt"}
Line 233: Line 234:
data.forms["post_voc_l_sg"] = {stem .. "es"}
data.forms["post_voc_l_sg"] = {stem .. "es"}
data.forms["post_nom_t_sg"] = {stem .. (ny and "or" or "ior")}
data.forms["post_nom_t_sg"] = {stem .. ((ny or j) and "or" or "ior")}
data.forms["post_acc_t_sg"] = data.forms["post_nom_t_sg"]
data.forms["post_acc_t_sg"] = data.forms["post_nom_t_sg"]
data.forms["post_gen_t_sg"] = {stem .. "ȳro"}
data.forms["post_gen_t_sg"] = {stem .. "ȳro"}
Line 240: Line 241:
data.forms["post_ins_t_sg"] = {stem .. "ȳso"}
data.forms["post_ins_t_sg"] = {stem .. "ȳso"}
data.forms["post_com_t_sg"] = {stem .. "ȳmo"}
data.forms["post_com_t_sg"] = {stem .. "ȳmo"}
data.forms["post_voc_t_sg"] = {stem .. (ny and "os" or "ios")}
data.forms["post_voc_t_sg"] = {stem .. ((ny or j) and "os" or "ios")}
data.forms["post_nom_l_pl"] = {stem .. "i"}
data.forms["post_nom_l_pl"] = {stem .. "i"}
Line 251: Line 252:
data.forms["post_voc_l_pl"] = {stem .. "is"}
data.forms["post_voc_l_pl"] = {stem .. "is"}
data.forms["post_nom_t_pl"] = {stem .. (ny and "ar" or "iar")}
data.forms["post_nom_t_pl"] = {stem .. ((ny or j) and "ar" or "iar")}
data.forms["post_acc_t_pl"] = data.forms["post_nom_t_pl"]
data.forms["post_acc_t_pl"] = data.forms["post_nom_t_pl"]
data.forms["post_gen_t_pl"] = {stem .. "ȳti"}
data.forms["post_gen_t_pl"] = {stem .. "ȳti"}

Navigation menu