Module:kilta-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 76: Line 76:
local syllables = split(term, "·")
local syllables = split(term, "·")
--[[if iskolan then
if iskolan then
syllables[#syllables] = "ˈ" .. syllables[#syllables] -- ultimate stress
syllables[#syllables] = "ˈ" .. syllables[#syllables] -- ultimate stress
elseif #syllables > 1 then
elseif #syllables > 1 then
syllables[#syllables - 1] = "ˈ" .. syllables[#syllables - 1] -- penultimate stress
syllables[#syllables - 1] = "ˈ" .. syllables[#syllables - 1] -- penultimate stress
end]]
end
return table.concat(syllables, ".")
return table.concat(syllables, ".")