Module:qay-noun: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 20: Line 20:
local function detect_decl(word)
local function detect_decl(word)
if word:match("[aeiouy]$") then
if word:match("[aeiouy]$") then
return "v"
return "v", {word}
else
else
return "c"
return "c", {word}
end
end
end
end