45,631
edits
No edit summary |
No edit summary |
||
Line 39: | Line 39: | ||
local rules = { | local rules = { | ||
{"ʇ", "ǀ"}, {"õ", "ṍ"}, {"o", "ɔ"}, {"ṭ", "ʈ"}, {"j", "ɟ"}, {"ñ", "ɲ"}, | {"ʇ", "ǀ"}, {"õ", "ṍ"}, {"o", "ɔ"}, {"ṭ", "ʈ"}, {"j", "ɟ"}, {"ñ", "ɲ"}, {"ʼ", "ʔ"}, | ||
{"([ḛḭṵaɔ]" .. TILDEBELOW .. "?)", {["ḛ"] = "è", ["ḭ"] = "ì", ["ṵ"] = "ù", ["a" .. TILDEBELOW] = "à", ["ɔ" .. TILDEBELOW] = "ò"}}, | {"([ḛḭṵaɔ]" .. TILDEBELOW .. "?)", {["ḛ"] = "è", ["ḭ"] = "ì", ["ṵ"] = "ù", ["a" .. TILDEBELOW] = "à", ["ɔ" .. TILDEBELOW] = "ò"}}, | ||
{"([uù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 63: | Line 63: | ||
end | end | ||
}, | }, | ||
{"(" .. glottalic .. " | {"(" .. glottalic .. "ʔ[" .. front_vowel .. "])", "%1˦"}, {"(" .. glottalic .. "ʔ[" .. back_vowel .. "])", "%1˨"}, | ||
{"(" .. glottalic .. ") | {"(" .. 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 .. "ː"}, | ||
{"ᴍ" .. 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 .. ") | {"ɴ", "ᵑ"}, {"(" .. click .. ")ʔ", "%1ˀ"}, | ||
} | } | ||