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("[ảẻỉỏủỷởử]$") or word:match(vowels .. vowels .. "$") or word:match("ir$") then | elseif word:match(consonants .. "[ảẻỉỏủỷởử]$") or word:match(vowels .. vowels .. "$") or word:match("ir$") then | ||
return "l" | return "l" | ||
elseif match(vowels, sub(word, -1, -1)) then | elseif match(vowels, sub(word, -1, -1)) then | ||