Module:siwa-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 17: Line 17:


--obsolete ligatures and L with stroke used to remove two-character hassle. will replace later
--obsolete ligatures and L with stroke used to remove two-character hassle. will replace later
local consonant = "[mnɲŋpbtdcɟkɡʔvðsɕxɣhʨʥrlɬłʣjwʦʔƀꝺđɣꬶɉɨ]" .. UNRELEASED .. "?"
local consonant = "[mnɲŋpbtdcɟkɡʔvðsɕxɣhʨʥrlɬłʣjwʦʔƀꝺđɣꬶɉ]" .. UNRELEASED .. "?"
local front_vowel = "iɪyeøɛœæa"
local front_vowel = "iɪyeøɛœæa"
local back_vowel = "uɔ" .. NASALIZED .. "?ɑʊɤ"
local back_vowel = "uɔ" .. NASALIZED .. "?ɑʊɤ"
Line 165: Line 165:
{"ɑ$", "a"},
{"ɑ$", "a"},
{"(" .. vowel .. ")đ$", "%1ʔ%1"}, -- -Vt becomes -VʔV (or -Vht, not considered)
{"(" .. vowel .. ")đ$", "%1ʔ%1"}, -- -Vt becomes -VʔV (or -Vht, not considered)
{"(" .. vowel .. "*)(" .. consonant .. "ɨ)$", function(s1, s2) return closed_to_open(s1) .. s2 end},
{"(" .. vowel .. "*ː?)(" .. consonant .. "ɨ)$", function(s1, s2) return closed_to_open(s1) .. s2 end},
--undo ligatures
--undo ligatures