Module:qlu-pron: Difference between revisions
No edit summary |
No edit summary |
||
| Line 115: | Line 115: | ||
for i, syll in ipairs(syllables) do | for i, syll in ipairs(syllables) do | ||
if match(word, first_stress) then | if match(word, first_stress) then | ||
if match( | if match(syllables[i], first_stress) then | ||
syllables[i] = "ˈ" .. dediacv(syllables[i]) | |||
end | end | ||
elseif match(word, "a[eu]") or match(word, "ei") then | elseif match(word, "a[eu]") or match(word, "ei") then | ||
if match( | if match(syllables[i], "a[eu]") or match(syllables[i], "ei") then | ||
syllables[i] = "ˈ" .. dediacv(syllables[i]) | |||
end | end | ||
else | else | ||
syllables[i] = "test" | |||
end | end | ||