local Sound = {}
function Sound:new(vowel)
self.vowel = vowel or "a"
return setmetatable({}, {__index = self})
end
function Sound:new(vowel)
return setmetatable({}, {__index = self})
end
function Sound:default(stem1, stem2)
local v = self.vowel
return {
"u"..stem1,
"tu"..stem1,
"tu"..(stem2 or stem1).."ī",
"u"..stem1,
"nu"..stem1,
"tu"..(stem2 or stem1).."ā",
"u"..(stem2 or stem1).."ū",
"u"..(stem2 or stem1).."ā",
}
end
function Sound:imp(s)
return {
"lu"..s.pret1,
s.imp2,
s.imp1.."ī",
"li"..s.pret1,
"i ni"..s.pret1,
s.imp1.."ā",
"li"..s.pret2.."ū",
"li"..s.pret2.."ā",
}
end
function Sound:dur(stem1, stem2)
return self:default(stem1, stem2)
end
function Sound:perf(stem1, stem2)
return self:default(stem1, stem2)
end
function Sound:pret(stem1, stem2)
return self:default(stem1, stem2)
end
function Sound:nominal(stem)
return stem.."um"
end
return function (roots)
return Sound:new()
end