45,640
edits
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
local TILDE, NASAL = u(0x0303), u(0x0303) -- COMBINING TILDE ̃◌ | local TILDE, NASAL = u(0x0303), u(0x0303) -- COMBINING TILDE ̃◌ | ||
local TILDEBELOW, CREAKY = u(0x0330), u(0x0330) -- COMBINING TILDE BELOW ̰◌ | local TILDEBELOW, CREAKY = u(0x0330), u(0x0330) -- COMBINING TILDE BELOW ̰◌ | ||
local SPH = CREAKY .. CREAKY | |||
local GRAVE = u(0x0300) -- COMBINING GRAVE ACCENT ̀◌ | local GRAVE = u(0x0300) -- COMBINING GRAVE ACCENT ̀◌ | ||
local HIGHFALL = "˥˦" | local HIGHFALL = "˥˦" | ||
Line 26: | Line 27: | ||
local nasal_to_oral = {["ã"] = "a" .. NASAL, ["ĩ"] = "i" .. NASAL, ["ṍ"] = "ɔ" .. NASAL} | local nasal_to_oral = {["ã"] = "a" .. NASAL, ["ĩ"] = "i" .. NASAL, ["ṍ"] = "ɔ" .. NASAL} | ||
local modal_to_glottal = {["a"] = "à", ["e"] = "è", ["i"] = "ì", ["ɔ"] = "ò", ["u"] = "ù"} | local modal_to_glottal = {["a"] = "à", ["e"] = "è", ["i"] = "ì", ["ɔ"] = "ò", ["u"] = "ù"} | ||
local glottal_to_modal = {["à"] = "a" .. CREAKY, ["è"] = "e" .. | local glottal_to_modal = {["à"] = "a" .. CREAKY, ["è"] = "e" .. SPH, ["ì"] = "i" .. SPH, ["ò"] = "ɔ" .. CREAKY, ["ù"] = "u" .. CREAKY} | ||
local nasalized = "[ãĩṍᴍ]" | local nasalized = "[ãĩṍᴍ]" | ||
local glottalic = "[àèìòù]" | local glottalic = "[àèìòù]" | ||
Line 41: | Line 42: | ||
local rules = { | local rules = { | ||
{"ʇ", "ǀ"}, {"õ", "ṍ"}, {"o", "ɔ"}, {"ṭ", "ʈ"}, {"j", "ɟ"}, {"ñ", "ɲ"}, {"ʼ", "ʔ"}, {" | {"ʇ", "ǀ"}, {"õ", "ṍ"}, {"o", "ɔ"}, {"ṭ", "ʈ"}, {"j", "ɟ"}, {"ñ", "ɲ"}, {"ʼ", "ʔ"}, {"ch", "tʃ"}, {"ʈr", "ʈʂ"}, | ||
{"([" .. front_vowel .. "])ṯ", "s"}, | {"([" .. front_vowel .. "])ṯ", "s"}, | ||
{"([ḛḭṵaɔ]" .. TILDEBELOW .. "?)", {["ḛ"] = "è", ["ḭ"] = "ì", ["ṵ"] = "ù", ["a" .. TILDEBELOW] = "à", ["ɔ" .. TILDEBELOW] = "ò"}}, | {"([ḛḭṵaɔ]" .. TILDEBELOW .. "?)", {["ḛ"] = "è", ["ḭ"] = "ì", ["ṵ"] = "ù", ["a" .. TILDEBELOW] = "à", ["ɔ" .. TILDEBELOW] = "ò"}}, | ||
Line 76: | Line 77: | ||
{"ɴ", "ᵑ"}, {"(" .. click .. ")ʔ", "%1ˀ"}, {"(ᵑ" .. click .. ")x", "%1ʁ"}, {"(" .. click .. ")x", "%1χ"}, | {"ɴ", "ᵑ"}, {"(" .. click .. ")ʔ", "%1ˀ"}, {"(ᵑ" .. click .. ")x", "%1ʁ"}, {"(" .. click .. ")x", "%1χ"}, | ||
{"ŋ([" .. back_vowel .. "])", "ɴ%1"}, | |||
{"ṯ", "t" .. INTERDENTAL .. AFFR .. "s" .. DENTAL}, {"ṉ", "n" .. INTERDENTAL .. VOICELESS} | {"ṯ", "t" .. INTERDENTAL .. AFFR .. "s" .. DENTAL}, {"ṉ", "n" .. INTERDENTAL .. VOICELESS} | ||
} | } |