Module:rad-IPA: Difference between revisions

Added geminate resolution
(Added voicing assimilation)
(Added geminate resolution)
Line 116: Line 116:
data[","] = data["."]
data[","] = data["."]
data[":"] = data["."]
data[":"] = data["."]
data["ș"] = data["."]
data[";"] = data["."]
data["!"] = data["."]
data["!"] = data["."]
data["?"] = data["."]
data["?"] = data["."]
Line 626: Line 626:
-- Resolution of geminates --
-- Resolution of geminates --
if p_next == p_current and (boundary[p_next2] or p_next2 == nil) and consonant[p_current] then
p_RemoveNext()
mw.log("Geminate [" .. p_current .. "] removed in final position")
end
if boundary[p_current] then
mw.log("——— word boundary detected ———")
end
end
end