45,647
edits
No edit summary |
No edit summary |
||
Line 30: | Line 30: | ||
local decl = class | local decl = class | ||
return decl, {sub(root, 1, (sub(root, -2) == ("lj" or "gh") and -3 or -2))} | return decl, {sub(root, 1, (sub(root, -2) == ("lj" or "gh") and -3 or -2))} | ||
elseif find(root, "[eiou]$") or m_data.astems[word] then return "vowel", {sub(root, 1, -2)} | |||
elseif find(root, "[eiou]$") then return "vowel", {sub(root, 1, -2)} | |||
else | else | ||
for ending, decl in pairs(endings) do | for ending, decl in pairs(endings) do |