Module:lfv-IPA: Difference between revisions

m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
m (Terminal devoicing should not apply if the next word begins with a vowel)
Tags: Mobile edit Mobile web edit
mNo edit summary
Line 270: Line 270:
-- terminal devoicing --
-- terminal devoicing --
if devoice[p_current] and (boundary[p_next] or p_next == nil) and not vowel[working_IPA[i+2]] then
if devoice[p_current] and (boundary[p_next] or p_next == nil) then
p_resolve(devoice[p_current])
if p_next ~= " " and not vowel[working_IPA[i+2]] then
p_resolve(devoice[p_current])
end
end
end