Module:siwa-noun: Difference between revisions

No edit summary
No edit summary
Line 51: Line 51:
local function detect_decl(word, stressed)
local function detect_decl(word, stressed)
word = dedigraphicize(word)
word = dedigraphicize(word)
if word:match(sub(word, -1, -1), "[ảẻỉỏủỷȯởử]") then
if word:match(sub(word, -1, -1), "[ảẻỉỏủỷởử]") then
return "l"
return "l"
elseif word:match(vowels, sub(word, -1, -1)) then
elseif word:match(vowels, sub(word, -1, -1)) then