45,646
edits
No edit summary |
No edit summary |
||
Line 50: | Line 50: | ||
local function detect_gender(word) | local function detect_gender(word) | ||
local ending = sub( | local ending = word:sub(-1) | ||
if find(word | if word:find("-illa$") then | ||
return "aq" | |||
elseif word:find("[aeioy]$") then | |||
return "lun" | return "lun" | ||
elseif ending == "r" then | elseif ending == "r" then |