local decl = {}
decl = {
params = {
= {},
},
singular = function(args, data)
data.forms = {args .. "i"}
data.forms = {args .. "in"}
data.forms = {args .. "a"}
data.forms = {args .. "an"}
data.forms = {args .. "a"}
data.forms = {args .. "anum"}
data.forms = {args .. "a"}
data.forms = {args .. "ans"}
end,
plural = function(args, data)
data.forms = {args .. "ar"}
data.forms = {args .. "arnir"}
data.forms = {args .. "ar"}
data.forms = {args .. "arnar"}
data.forms = {args .. "um"}
data.forms = {args .. "unum"}
data.forms = {args .. "a"}
data.forms = {args .. "anna"}
end
}
setmetatable(decl, {__call = function(self, args, data)
data.decl_type = "m1"
self.singular(args, data)
self.plural(args, data)
end
})
decl = {
params = {
= {},
},
}
setmetatable(decl, {__call = function(self, args, data)
decl.plural(args, data)
data.info = " (plural only)"
data.decl_type = "m1p"
data.defective = "p"
end
})
decl = {
params = {
= {},
},
}
setmetatable(decl, {__call = function(self, args, data)
decl.singular(args, data)
data.info = " (singular only)"
data.decl_type = "m1s"
data.defective = "s"
end
})
decl = {
params = {
= {},
},
}
setmetatable(decl, {__call = function(self, args, data)
decl.singular(args, data)
data.info = " (singular only)"
data.decl_type = "m1s def"
data.defective = "s_def"
end
})
decl = {
params = {
= {},
},
singular = function(args, data)
data.forms = {args .. "i"}
data.forms = {args .. "in"}
data.forms = {args .. "ja"}
data.forms = {args .. "jan"}
data.forms = {args .. "ja"}
data.forms = {args .. "janum"}
data.forms = {args .. "ja"}
data.forms = {args .. "jans"}
end,
plural = function(args, data)
data.forms = {args .. "jar"}
data.forms = {args .. "jarnir"}
data.forms = {args .. "jar"}
data.forms = {args .. "jarnar"}
data.forms = {args .. "jum"}
data.forms = {args .. "junum"}
data.forms = {args .. "ja"}
data.forms = {args .. "janna"}
end
}
setmetatable(decl, {__call = function(self, args, data)
data.decl_type = "m2"
self.singular(args, data)
self.plural(args, data)
end
})
decl = {
params = {
= {},
= {},
},
}
setmetatable(decl, {__call = function(self, args, data)
data.decl_type = "m3"
data.forms = {args .. "a" .. args .. "i"}
data.forms = {args .. "a" .. args .. "in"}
data.forms = {args .. "a" .. args .. "ar"}
data.forms = {args .. "a" .. args .. "arnir"}
data.forms = {args .. "a" .. args .. "a"}
data.forms = {args .. "a" .. args .. "an"}
data.forms = {args .. "a" .. args .. "ar"}
data.forms = {args .. "a" .. args .. "arnar"}
data.forms = {args .. "a" .. args .. "a"}
data.forms = {args .. "a" .. args .. "anum"}
data.forms = {args .. "ø" .. args .. "um"}
data.forms = {args .. "ø" .. args .. "unum"}
data.forms = {args .. "a" .. args .. "a"}
data.forms = {args .. "a" .. args .. "ans"}
data.forms = {args .. "a" .. args .. "a"}
data.forms = {args .. "a" .. args .. "anna"}
end
})
decl = {
params = {
= {},
= {},
},
}
setmetatable(decl, {__call = function(self, args, data)
data.decl_type = "m4"
data.forms = {args .. "a" .. args .. "i"}
data.forms = {args .. "a" .. args .. "in"}
data.forms = {args .. "a" .. args .. "ar"}
data.forms = {args .. "a" .. args .. "arnir"}
data.forms = {args .. "a" .. args .. "a"}
data.forms = {args .. "a" .. args .. "an"}
data.forms = {args .. "a" .. args .. "ar"}
data.forms = {args .. "a" .. args .. "arnar"}
data.forms = {args .. "a" .. args .. "a"}
data.forms = {args .. "a" .. args .. "anum"}
data.forms = {args .. "o" .. args .. "um"}
data.forms = {args .. "o" .. args .. "unum"}
data.forms = {args .. "a" .. args .. "a"}
data.forms = {args .. "a" .. args .. "ans"}
data.forms = {args .. "a" .. args .. "a"}
data.forms = {args .. "a" .. args .. "anna"}
end
})
decl = {
params = {
= {},
= {},
},
}
setmetatable(decl, {__call = function(self, args, data)
data.decl_type = "m5"
data.forms = {args .. "ó" .. args .. "i"}
data.forms = {args .. "ó" .. args .. "in"}
data.forms = {args .. "ø" .. args .. "ur"}
data.forms = {args .. "ø" .. args .. "urnir"}
data.forms = {args .. "ó" .. args .. "a"}
data.forms = {args .. "ó" .. args .. "an"}
data.forms = {args .. "ø" .. args .. "ur"}
data.forms = {args .. "ø" .. args .. "urnar"}
data.forms = {args .. "ó" .. args .. "a"}
data.forms = {args .. "ó" .. args .. "anum"}
data.forms = {args .. "ó" .. args .. "um"}
data.forms = {args .. "ó" .. args .. "unum"}
data.forms = {args .. "ó" .. args .. "a"}
data.forms = {args .. "ó" .. args .. "ans"}
data.forms = {args .. "ó" .. args .. "a"}
data.forms = {args .. "ó" .. args .. "anna"}
end
})
decl = {
params = {
= {},
},
singular = function(args, data)
data.forms = {args .. "ur"}
data.forms = {args .. "urin"}
data.forms = {args}
data.forms = {args .. "in"}
data.forms = {args .. "i"}
data.forms = {args .. "inum"}
data.forms = {args .. "s"}
data.forms = {args .. "sins"}
end,
plural = function(args, data)
data.forms = {args .. "ar"}
data.forms = {args .. "arnir"}
data.forms = {args .. "ar"}
data.forms = {args .. "arnar"}
data.forms = {args .. "um"}
data.forms = {args .. "unum"}
data.forms = {args .. "a"}
data.forms = {args .. "anna"}
end
}
setmetatable(decl, {__call = function(self, args, data)
data.decl_type = "m6"
self.singular(args, data)
self.plural(args, data)
end
})
decl = {
params = {
= {},
},
}
setmetatable(decl, {__call = function(self, args, data)
decl.singular(args, data)
data.info = " (singular only)"
data.decl_type = "m6s"
data.defective = "s"
end
})
decl = {
params = {
= {},
= {},
= {},
},
singular = function(args, data)
data.forms = {args .. args .. args}
data.forms = {args .. args .. args .. "in"}
data.forms = {args .. args .. args}
data.forms = {args .. args .. args .. "in"}
data.forms = {args .. args .. "i"}
data.forms = {args .. args .. "inum"}
data.forms = {args .. args .. args .. "s"}
data.forms = {args .. args .. args .. "sins"}
end,
plural = function(args, data)
data.forms = {args .. args .. "ar"}
data.forms = {args .. args .. "arnir"}
data.forms = {args .. args .. "ar"}
data.forms = {args .. args .. "arnar"}
data.forms = {args .. args .. "um"}
data.forms = {args .. args .. "unum"}
data.forms = {args .. args .. "a"}
data.forms = {args .. args .. "anna"}
end
}
setmetatable(decl, {__call = function(self, args, data)
data.decl_type = "m21"
self.singular(args, data)
self.plural(args, data)
end
})
return decl