Module:qhv-pron: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 41: Line 41:
if match(syllable, "'") then
if match(syllable, "'") then
syllable = gsub(syllable, "'", "ˈ")
syllable = gsub(syllable, "'", "ˈ")
return table.concat(syllable)
return table.concat(syllables)
end
end
weight[i] = match(syllable, "[aeiouy" .. NONSYLLABIC .. "]$") and "l" or "h"
weight[i] = match(syllable, "[aeiouy" .. NONSYLLABIC .. "]$") and "l" or "h"

Navigation menu