Module:qhv-verb: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:
["[ptkqbdg]"] = "stop",
["[ptkqbdg]"] = "stop",
["[mn]"] = "nasal",
["[mn]"] = "nasal",
["lj"] = "palatal", ["ñ"] = "palatal",
["ñ"] = "palatal",
["[hszvj]"] = "fricative", ["gh"] = "fricative",
["[hszvj]"] = "fricative",
}
}


Line 36: Line 36:
elseif match(word, "[āeē]mm?agon$") then
elseif match(word, "[āeē]mm?agon$") then
return "-emagon", {root}
return "-emagon", {root}
elseif match(root, consonants .. "+" .. consonants .. "$") and (not match(root, ("lj" or "[rgtk]h") .. "$")) then
return "cluster", {root}
elseif match(root, "lj$") then return "palatal", {root}
elseif match(root, "lj$") then return "palatal", {root}
elseif match(root, "gh$") then return "fricative", {root}
elseif match(root, consonants .. "+" .. consonants .. "$") then return "cluster", {root}
else
else
for ending, decl in pairs(endings) do
for ending, decl in pairs(endings) do