Module:qhv-pron: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 45: Line 45:
for i, syllable in ipairs(syllables) do
for i, syllable in ipairs(syllables) do
if match(syllable, "[áéíóúý]") then
if match(syllable, "[áéíóúý]") then
syllable = gsub(syllable, "á", "a")
syllable = gsub(syllable, "ráx", "a")
table.insert(syllables, i, "ˈ")
table.insert(syllables, i, "ˈ")
return table.concat(syllables)
return table.concat(syllables)

Navigation menu