Module:IPAc2-mh: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 951:
primaryR = ":"
secondaryR = ""
elseif primaryL ~= "l" then
else
secondaryL = ""
end
Line 972:
end
)
-- Dorsal consonants are already velarized by default.
text = string_gsub(text, "([kgN])G", "%1")
if not PHONETIC_IPA then
Line 1,016 ⟶ 1,013:
map["c"] = map["c"] or (map["t"]..TIE..map["s"])
map["J"] = map["J"] or (map["d"]..TIE..map["z"])
map["kG"] = map["kG"] or map["k"]
map["gG"] = map["gG"] or map["g"]
map["NG"] = map["NG"] or map["N"]
for primary in mw_text_gsplit("pbtdcJszkgmnNrl_", "") do
for secondary in mw_text_gsplit("jGw", "") do
local key = primary..secondary
map[key] = map[key] or (map[primary]..map[secondary])
end
end
PHONETIC_IPA = map
end
text = string_gsub(text, ".[jGw]?", PHONETIC_IPA)
addUnique(config.outSeq, text)