Module:rad-IPA: Difference between revisions

Accounted for [ij]
mNo edit summary
(Accounted for [ij])
Line 833: Line 833:
local i_initial = { ["i"] = true, ["iː"] = true, ["iːː"] = true, ["ie"] = true, ["iːe"] = true, }
local i_initial = { ["i"] = true, ["iː"] = true, ["iːː"] = true, ["ie"] = true, ["iːe"] = true, }
if p_current == "j" and i_initial[p_next] then
if p_current == "j" and i_initial[p_next] then
table.remove(working_phones, i)
-- mw.log("[j] removed from position ".. i .. ".")
p_current = working_phones[i]
end
-- [i] + j
local i_oid = { ["i"] = true, ["iː"] = true, ["iːː"] = true }
if p_current == "j" and i_oid[p_prev] then
table.remove(working_phones, i)
table.remove(working_phones, i)
-- mw.log("[j] removed from position ".. i .. ".")
-- mw.log("[j] removed from position ".. i .. ".")