Module:siwa-pron: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 14: Line 14:


--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ɟwjkɡʔvðsɕxɣhħʨʥrlɬⱡłʣʦʔƀꝺđɣꬶɉʼⱦ]" .. UNR .. "?"
local consonant = "[mnɲŋpbtdcɟwjkɡʔvðsɕxɣhħʨʥrlɬⱡłʣʦʔƀꝺđꬶɉʼⱦ]" .. UNR .. "?"
local front_vowel = "iɪyeøɛœæ"
local front_vowel = "iɪyeøɛœæ"
local back_vowel = "uɔõɑʊɤɯ"
local back_vowel = "uɔõɑʊɤɯ"
Line 24: Line 24:


function spat(c)
function spat(c)
return "(·?ˈ[mnɲŋpbtdcɟkɡʔvðsɕxɣhʨʥrlɬłⱡʣjwʦ⁽ʰ⁾ʔːƀꝺđɣꬶɉ]*"..UNR.."?"..vowel..")" .. c .. "([^ː])"
return "(·?ˈ[mnɲŋpbtdcɟkɡʔvðsɕxɣhʨʥrlɬłⱡʣjwʦ⁽ʰ⁾ʔːƀꝺđꬶɉ]*"..UNR.."?"..vowel..")" .. c .. "([^ː])"
end
end


Line 190: Line 190:
 
 
{"k(ː?["..front_vowel.."])", "c%1"}, {"ɡ(["..front_vowel.."])", "ɟ%1"}, {"ɡ(ː[" ..front_vowel.."])", "c%1"}, {"tɟ", "tc"}, {"ƛ", "tɬʼ"},
{"k(ː?["..front_vowel.."])", "c%1"}, {"ɡ(["..front_vowel.."])", "ɟ%1"}, {"ɡ(ː[" ..front_vowel.."])", "c%1"}, {"tɟ", "tc"}, {"ƛ", "tɬʼ"},
{"([^ˈ])ɣi", "%1ɉi"},
{"([^ˈ])ɣi", "%1ji"},
-- remove morpheme separator, possible double long vowel markers, and repeated secondary stress markers
-- remove morpheme separator, possible double long vowel markers, and repeated secondary stress markers
{"[·ⱦ]", ""}, {"ːː", "ː"}, {"(ˈ[^ˌ]*)ˌ", "%1"}, {"-", "‿"},
{"[·ⱦ]", ""}, {"ːː", "ː"}, {"(ˈ[^ˌ]*)ˌ", "%1"}, {"-", "‿"},

Navigation menu