Module:rad-IPA: Difference between revisions

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

Navigation menu