Module:ábḫ-ipa: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 101: Line 101:
-- mark secondary stress
-- mark secondary stress
for i,val in ipairs(stresses) do
for i,val in ipairs(stresses) do
if (mw.ustring.match(val, "%.") and (i ~= syllables)) then
if mw.ustring.match(val, "%.") and (i ~= syllables - 1) then
if (i - pos) % 2 == 0 then
if (i - pos) % 2 == 0 then
table.insert(newStresses, "ˌ")
table.insert(newStresses, "ˌ")