Module:rad-IPA: Difference between revisions

m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
mNo edit summary
Line 1,394: Line 1,394:
-- gemination
-- gemination
if phon and syllables[i]["coda"] and syllables[i+1]["onset"] then
if phon and syllables[i] and syllables[i+1] then
if syllables[i]["coda"][#syllables[i]["coda"]] == syllables[i+1]["onset"][1] then
if syllables[i]["coda"] and syllables[i+1]["onset"] then
table.remove(syllables[i]["coda"], #syllables[i]["coda"])
if syllables[i]["coda"][#syllables[i]["coda"]] == syllables[i+1]["onset"][1] then
syllables[i+1]["onset"][1] = syllables[i+1]["onset"][1] .. "ː"
table.remove(syllables[i]["coda"], #syllables[i]["coda"])
syllables[i+1]["onset"][1] = syllables[i+1]["onset"][1] .. "ː"
end
end
end
end
end