Module:rad-IPA: Difference between revisions

Jump to navigation Jump to search
m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
m (Added escape for  )
mNo edit summary
Line 168: Line 168:
-- allophones --
-- allophones --
["x"] = true, ["ʝ"] = true, ["ʋ"] = true,
["x"] = true, ["ʝ"] = true, ["ʋ"] = true, ["ɲ"] = true,
}
}
local consonant_temp = {"ĵ"}
local consonant_temp = {"ĵ"}
Line 260: Line 260:


local nasal = {
local nasal = {
["m"] = true, ["n"] = true, ["ŋ"] = true,  
["m"] = true, ["n"] = true, ["ŋ"] = true,
["ɲ"] = true,
}
}
Line 843: Line 845:
mw.log("phon = true:")
mw.log("phon = true:")
p_Convert("ç")
p_Convert("ç")
p_RemoveNext()
end
if p_current == "n" and p_next == "j" then
mw.log("phon = true:")
p_Convert("ɲ")
p_RemoveNext()
p_RemoveNext()
end
end
Line 1,389: Line 1,397:
end
end
if syllables[i]["coda"][1] == "n" then
if syllables[i]["coda"][1] == "ɲ"  then
if fricative[syllables[i]["coda"][2]] then
get_nasal(true)
table.insert(syllables[i]["coda"], 1, "j̃")
elseif syllables[i+1]["onset"] then
if syllables[i]["coda"][2] == nil and fricative[syllables[i+1]["onset"][1]] then
get_nasal(true)
table.insert(syllables[i]["coda"], 1, "j̃")
end
end
elseif syllables[i]["coda"][1] == "n" then
if fricative[syllables[i]["coda"][2]] then
if fricative[syllables[i]["coda"][2]] then

Navigation menu