Module:qlu-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 211: Line 211:
local syllables = split(word, "·");
local syllables = split(word, "·");
if #syllables == 1 then return table.concat(syllables) end -- account for monosyllables
if #syllables == 1 then return dediacv(table.concat(syllables), "[" .. c.acute .. c.circ .. "]") end -- account for monosyllables
local first_stress = "[âêîôû]"
local first_stress = "[âêîôû]"