Module:qhv-noun: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 37: Line 37:
local decl = number .. "-" .. class
local decl = number .. "-" .. class
return decl, {sub(word, 1, -(#endings_reverse[decl] + 1))}
return decl, {sub(word, 1, -(#endings_reverse[decl] + 1))}
elseif find(word, "[aāiu]?[aāeēoōīūȳ].$") and (syllables == 1 or syllables == 2) then
elseif find(word, "[āēōīūȳ].$") and (syllables == 1 or syllables == 2) then
return "3-s-h", {sub(word, 1, -2)}
return "3-s-h", {sub(word, 1, -2)}
else
else

Navigation menu