Module:anui-pron: Difference between revisions

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


local rules = {
local rules = {
{"ʇ", "ǀ"}, {"õ", "ṍ"}, {"o", "ɔ"}, {"ṭ", "ʈ"}, {"j", "ɟ"}, {"ñ", "ɲ"}, {"ʼ", "ʔ"}, {"ch", "tʃ"}, {"ʈr", "ʈʂ"},
{"ʇ", "ǀ"}, {"õ", "ṍ"}, {"o", "ɔ"}, {"ṭ", "ʈ"}, {"j", "ɟ"}, {"ñ", "ɲ"}, {"ch", "tʃ"}, {"ʈr", "ʈʂ"},
{"([" .. front_vowel .. "])ṯ", "s"},
{"([" .. front_vowel .. "])ṯ", "s"},
{"([ḛḭṵaɔ]" .. TILDEBELOW .. "?)", {["ḛ"] = "è", ["ḭ"] = "ì", ["ṵ"] = "ù", ["a" .. TILDEBELOW] = "à", ["ɔ" .. TILDEBELOW] = "ò"}},
{"([ḛḭṵaɔ]" .. TILDEBELOW .. "?)", {["ḛ"] = "è", ["ḭ"] = "ì", ["ṵ"] = "ù", ["a" .. TILDEBELOW] = "à", ["ɔ" .. TILDEBELOW] = "ò"}},
{"([uùm]ʔ?)m", "%1ᴍ"}, {"m(ʔᴍ)", "ᴍ%1"}, -- tell apart between regular and syllabic <m>
{"([uùm]ʼ?)m", "%1ᴍ"}, {"m(ʼᴍ)", "ᴍ%1"}, -- tell apart between regular and syllabic <m>
{"(" .. vowel .. ")(".. vowel .. ")", function(s1, s2) return same(s1, s2) and s1 .. "ː˧" or s1 .. s2 .. "˧" end},
{"(" .. vowel .. ")(".. vowel .. ")", function(s1, s2) return same(s1, s2) and s1 .. "ː˧" or s1 .. s2 .. "˧" end},
{"(" .. vowel .. ")(" .. nasalized .. ")",
{"(" .. vowel .. ")(" .. nasalized .. ")",
Line 67: Line 67:
end
end
},
},
{"(" .. glottalic .. "ʔ[" .. front_vowel .. "])", "%1˦"}, {"(" .. glottalic .. "ʔ[" .. back_vowel .. "])", "%1˨"},
{"(" .. glottalic .. "ʼ[" .. front_vowel .. "])", "%1˦"}, {"(" .. glottalic .. "ʼ[" .. back_vowel .. "])", "%1˨"},
{"(" .. glottalic .. ")ʔ(" .. nasalized .. ")", function(s1, s2) return glottal_to_modal[s1] .. NASAL .. "ʔ" .. s2 .. HIGHFALL end},
{"(" .. glottalic .. ")ʼ(" .. nasalized .. ")", function(s1, s2) return glottal_to_modal[s1] .. NASAL .. "ʔ" .. s2 .. HIGHFALL end},
{"u" .. CREAKY .. NASAL, "ᴍ" .. CREAKY},
{"u" .. CREAKY .. NASAL, "ᴍ" .. CREAKY},
{"ᴍᴍ", "m" .. SYLLABIC .. "ː"}, {"ùᴍ", "m" .. CREAKY .. SYLLABICA .. "ː˧"},
{"ᴍᴍ", "m" .. SYLLABIC .. "ː"}, {"ùᴍ", "m" .. CREAKY .. SYLLABICA .. "ː˧"},
{"ᴍʔᴍ", "m" .. SYLLABICA .. CREAKY .. "ʔm" .. SYLLABIC .. "˧"},  {"ᴍ" .. CREAKY .. "ᴍ", "m" .. CREAKY .. SYLLABICA .. "ː"},
{"ᴍʼᴍ", "m" .. SYLLABICA .. CREAKY .. "ʔm" .. SYLLABIC .. "˧"},  {"ᴍ" .. CREAKY .. "ᴍ", "m" .. CREAKY .. SYLLABICA .. "ː"},
{"ᴍ" .. CREAKY, "m" .. CREAKY .. SYLLABICA}, {"ṍ", "ɔ" .. NASAL}, {"(" .. glottalic .. ")", function(s1) return glottal_to_modal[s1] end},
{"ᴍ" .. CREAKY, "m" .. CREAKY .. SYLLABICA}, {"ṍ", "ɔ" .. NASAL}, {"(" .. glottalic .. ")", function(s1) return glottal_to_modal[s1] end},
{"ᴍ", "m" .. SYLLABIC},
{"ᴍ", "m" .. SYLLABIC},
{"ɴ", "ᵑ"}, {"(" .. click .. ")ʔ", "%1ˀ"}, {"(ᵑ" .. click .. ")x", "%1ʁ"}, {"(" .. click .. ")x", "%1χ"},
{"ɴ", "ᵑ"}, {"(" .. click .. ")ʼ", "%1ˀ"}, {"(ᵑ" .. click .. ")x", "%1ʁ"}, {"(" .. click .. ")x", "%1χ"},
{"ŋ([" .. back_vowel .. "])", "ɴ%1"},
{"ŋ([" .. back_vowel .. "])", "ɴ%1"},
{"m([aeiou]" .. CREAKY .. "?)", "mᵇ%1"},  {"ŋ([aeiou]" .. CREAKY .. "?)", "ŋᶢ%1"},  {"ɳ([aeiou]" .. CREAKY .. "?)", "ᶯɖ%1"},
{"m([aeiou]" .. CREAKY .. "?)", "mᵇ%1"},  {"ŋ([aeiou]" .. CREAKY .. "?)", "ŋᶢ%1"},  {"ɳ([aeiou]" .. CREAKY .. "?)", "ᶯɖ%1"},

Navigation menu