Module:qhv-headword: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 51: Line 51:
local function detect_gender(word)
local function detect_gender(word)
local ending = word:sub(-1)
local ending = word:sub(-1)
if word:find("-illa$") then
if word:find("illa$") then
return "aq"
return "aq"
elseif word:find("[aeioy]$") then
elseif word:find("[aeioy]$") then

Navigation menu