Module:ábḫ-ipa: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 150: Line 150:
elseif val == "e" then
elseif val == "e" then
if word[i+1] ~= nil then
if word[i+1] ~= nil then
if isStressed(word[i-1], word[i-2]) and mw.ustring.match(word[i+2], "[dntz]") then
if not isStressed(word[i-1], word[i-2]) and mw.ustring.match(word[i+2], "[dntz]") then
table.insert(newWord, "3")
table.insert(newWord, "3")
else
else