Module:rad-IPA: Difference between revisions

Added apostrophe removal
(Rejigged stress assignment and fixed bug with [v] assimilation)
(Added apostrophe removal)
Line 108: Line 108:
[" "] = " ",
[" "] = " ",
["."] = "|",
["."] = "|",
["'"] = "'",
}
}
data["à"] = data["a"]
data["à"] = data["a"]
Line 121: Line 122:
data["!"] = data["."]
data["!"] = data["."]
data["?"] = data["."]
data["?"] = data["."]
data["‘"] = data["'"]
data["’"] = data["'"]


local irregular = {
local irregular = {
Line 806: Line 809:
p_RemoveNext()
p_RemoveNext()
mw.log("Geminate [" .. p_current .. "] removed in final position at position " .. i .. ".")
mw.log("Geminate [" .. p_current .. "] removed in final position at position " .. i .. ".")
end
-- Removal of apostrophes --
if p_current == "'" then
table.remove(working_phones, i)
mw.log("Apostrophe removed from position ".. i .. ".")
p_current = working_phones[i]
end
end