Module:qhv-headword: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 50: Line 50:


local function detect_gender(word)
local function detect_gender(word)
local ending = sub(word, -1)
local ending = word:sub(-1)
if find(word, "[aeioy]$") then
if word:find("-illa$") then
return "aq"
elseif word:find("[aeioy]$") then
return "lun"
return "lun"
elseif ending == "r" then
elseif ending == "r" then

Navigation menu