Module:qhv-pron: Difference between revisions

Jump to navigation Jump to search
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, "ˈ")
Line 50: Line 49:
else table.insert(syllables, #syllables-1, "ˈ") end
else table.insert(syllables, #syllables-1, "ˈ") end
return table.concat(syllables)
return table.concat(weight)
end
end


Navigation menu