Module:qhv-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 43: Line 43:
local a, p = weight[#weight-2], weight[#weight-1]
local a, p = weight[#weight-2], weight[#weight-1]
local antepenult, penult =  syllables[#syllables-2], syllables[#syllables-1]
if p == "l" and a == "h" then table.insert(syllables, #syllables-2, "ˈ")
if p == "l" and a == "h" then table.insert(syllables, #syllables-2, "ˈ")