Module:mg-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 75: Line 75:


local rules = {
local rules = {
{"([ɾs])·([ɾs])", function(s1, s2) return same(s1, s2) and "·ʰ" .. s1 or s1 .. s2 end}, -- rr and ss clusters, preaspirated
{"([ɾs])[·ˈ]([ɾs])", function(s1, s2) return same(s1, s2) and "·ʰ" .. s1 or s1 .. s2 end}, -- rr and ss clusters, preaspirated
{".$", {["a"] = "ɐ", ["e"] = "ɪ", ["o"] = "ʊ", ["n"] = NASAL}},
{".$", {["a"] = "ɐ", ["e"] = "ɪ", ["o"] = "ʊ", ["n"] = NASAL}},
{"l·", "ɫ·"}, {"l$", "ɫ"}, -- velarized [l]
{"l·", "ɫ·"}, {"l$", "ɫ"}, -- velarized [l]