Module:siwa-noun: Difference between revisions

No edit summary
No edit summary
Line 52: Line 52:
word = dedigraphicize(word)
word = dedigraphicize(word)
if gender == "a" then return "animate"
if gender == "a" then return "animate"
elseif word:match("ir$") then
elseif word:match("[ảẻỉỏủỷởử]$") or word:match("ir$") then
return "l"
return "l"
elseif word:match("[ảẻỉỏủỷởử]$") or match(vowels, sub(word, -1, -1)) then
elseif match(vowels, sub(word, -1, -1)) then
return m_com.stressed_vowels[stressed]
return m_com.stressed_vowels[stressed]
else
else