45,647
edits
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
local PAGENAME = mw.title.getCurrentTitle().text | local PAGENAME = mw.title.getCurrentTitle().text | ||
local NAMESPACE = mw.title.getCurrentTitle().nsText | local NAMESPACE = mw.title.getCurrentTitle().nsText | ||
local consonants = "[bdghjklmnpqrstvzñ]" | |||
local lang = require("Module:languages").getByCode("qhv") | local lang = require("Module:languages").getByCode("qhv") | ||
Line 31: | Line 32: | ||
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, "emm?agon$") then | |||
return "-emagon", {root} | |||
elseif match(root, consonants .. "+" .. consonants) and (not match(root, ("lj" or "[rgtk]h") .. "$")) then | |||
return "cluster", {root} | |||
else | else | ||
for ending, decl in pairs(endings) do | for ending, decl in pairs(endings) do |