Module:siwa-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 182: Line 182:
--undo ligatures
--undo ligatures
{"ʨ", "t͡ɕ"}, {"ƛ", "łʼ"}, {"ʥ", "d͡ʑ"}, {"ł", "tɬ"}, {"ʣ", "d͡z"}, {"ʦ", "t͡s"},
{"ʨ", "t͡ɕ"}, {"ʥ", "d͡ʑ"}, {"ł", "tɬ"}, {"ʣ", "d͡z"}, {"ʦ", "t͡s"},
{"ƀ", "p"}, {"ꝺ", "d"}, {"đ", "t"}, {"ꬶ", "ɡ"}, {"ɉ", "ɟ"},  {"õ", "ɔ̃"},
{"ƀ", "p"}, {"ꝺ", "d"}, {"đ", "t"}, {"ꬶ", "ɡ"}, {"ɉ", "ɟ"},  {"õ", "ɔ̃"},
{"ṁ", "m̥"}, {"ṅ", "n̥"}, {"ħ", "h"}, {"ɡ⁽", "k⁽"},
{"ṁ", "m̥"}, {"ṅ", "n̥"}, {"ħ", "h"}, {"ɡ⁽", "k⁽"},
Line 201: Line 201:
if w then
if w then
term = gsub(term, "ꬶl", "ʔł")
term = gsub(term, "ꬶl", "ʔł")
term = gsub(term, "ƛ", "łʼ")
for _, anap in ipairs(anaptyctic) do
for _, anap in ipairs(anaptyctic) do
term = gsub(term, anap[1], anap[2])
term = gsub(term, anap[1], anap[2])
Line 208: Line 209:
term = gsub(term, "([đƀ])r", "%1ʼqʼ")
term = gsub(term, "([đƀ])r", "%1ʼqʼ")
term = gsub(term, "ʦx", "ʦʼqʼ")
term = gsub(term, "ʦx", "ʦʼqʼ")
term = gsub(term, "ƛ", "ꬶl")
term = gsub(term, "ꬶl", "klː")
term = gsub(term, "ꬶl", "klː")
else
else
term = gsub(term, "ƛ", "ꬶl")
term = gsub(term, "ꬶl", "klː")
term = gsub(term, "ꬶl", "klː")
end
end