Module:qhv-noun: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 35: Line 35:
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, "[aeiouyā]?[aeiouyāēīōūȳ].$") and require("Module:qhv-pron").write_stress(word, true) == 1 then
elseif (find(word, "[aiuā][aeoāēō].$") or find(word, "[āēīōūȳ].$")) and require("Module:qhv-pron").write_stress(word, true) == 1 then
return "3-s-h", {sub(word, 1, -2)}
return "3-s-h", {sub(word, 1, -2)}
else
else

Navigation menu