Module:qhv-verb: Difference between revisions

Jump to navigation Jump to search
no edit summary
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 match(word, "urnegon$") or root == "urn" then
return "-urnegon", {root}
elseif find(tv, "[eiou]") or m_data.astems[word] then
elseif find(tv, "[eiou]") or m_data.astems[word] then
return "vowel", {root}
return "vowel", {root}
elseif match(word, "urnegon$") or root == "urn" then
return "-urnegon", {root}
elseif match(word, "[^l]ilagon$") or root == "il" then
elseif match(word, "[^l]ilagon$") or root == "il" then
return "-ilagon", {root}
return "-ilagon", {root}

Navigation menu