Module:qlu-pron: Difference between revisions

No edit summary
No edit summary
Line 120: Line 120:
syllables[i] = "ˈ" .. dediacv(syllables[i], c.circ)
syllables[i] = "ˈ" .. dediacv(syllables[i], c.circ)
end
end
elseif match(word, "a[eu]") or match(word, "ei") then
elseif match(syllables[i], second_stress) then
syllables[i] = "ˌ" .. dediacv(syllables[i], c.acute)
end
if match(word, "a[eu]") or match(word, "ei") then
if match(syllables[i], "a[eu]") or match(syllables[i], "ei") then
if match(syllables[i], "a[eu]") or match(syllables[i], "ei") then
syllables[i] = "ˈ" .. syllables[i]
syllables[i] = "ˈ" .. syllables[i]
end
end
elseif match(syllables[i], second_stress) then
end  
syllables[i] = "ˌ" .. dediacv(syllables[i], c.acute)
end
end
end