Module:rad-IPA: Difference between revisions

Jump to navigation Jump to search
m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
mNo edit summary
Line 1,439: Line 1,439:
-- phonetic /a/ backing --
-- phonetic /a/ backing --
if phon then
if phon then
if syllables[i]["nucleus"] == "a" and syllables[i+1] then
if syllables[i]["nucleus"] == "a" then
if syllables[i+1]["nucleus"] == "æː" then
if syllables[i+1] then
syllables[i]["nucleus"] = "ɑ"
if syllables[i+1]["nucleus"] == "æː" then
syllables[i]["nucleus"] = "ɑ"
end
end
end
elseif syllables[i]["nucleus"] == "a" and syllables[i-1] then
if syllables[i-1] then
if syllables[i-1]["nucleus"] == "æː" then
if syllables[i-1]["nucleus"] == "æː" then
syllables[i]["nucleus"] = "ɑ"
syllables[i]["nucleus"] = "ɑ"
end
end
if syllables[i]["nucleis"] == "a" then
syllables[i]["nucleus"] = "ä"
end
end
elseif syllables[i]["nucleus"] == "a" then
syllables[i]["nucleus"] = "ä"
end
end
end
end

Navigation menu