Module:qlu-pron: Difference between revisions

No edit summary
No edit summary
Line 15: Line 15:
local export = {}
local export = {}


local consonants = "[mnɲŋptkbdɡɸfsθʃxβvzðɣʦʧʣʤlʎrɹɾʁʒʷʨʥḱːjw]"
local voiced = "mnɲŋbdɡβvzðɣʣʤlʎrɹɾʁʒʥǵ"
local voiceless = "ptʈkɸfsθʃxʦʧʨḱ"
local consonants = "[" .. voiced .. voiceless .. "ʷːjw]"
local front = "iĭïeêɛɪæyʏøœ"
local front = "iĭïeêɛɪæyʏøœ"
local back = "uoɔʊʌɑɒ"
local back = "uoɔʊʌɑɒ"
Line 39: Line 41:
local first_rules = {
local first_rules = {
-- vowel digraphs
-- vowel digraphs
{"ăe", "ɛ" .. c.breve}, {"ae", "ɛ"},
{"ăe", "ɛ" .. c.breve}, {"âe", "ɛ" .. c.circ}, {"ae", "ɛ"},
{"ău", "ɔ" .. c.breve}, {"au", "ɔ"},
{"ău", "ɔ" .. c.breve}, {"âu", "ɔ" .. c.circ}, {"au", "ɔ"},
{"ĕi", "ĭ"}, {"ei", "i"},
{"ĕi", "ĭ"}, {"ei", "i"},
Line 48: Line 50:
{"c", "k"}, {"ŋʤ", "dʤ"},
{"c", "k"}, {"ŋʤ", "dʤ"},
{"ts", "ʦ"}, {"ph", "ɸ"}, {"th", "t"}, --{"h", ""},
{"ŋgü", "gǵ"}, {"gu(" .. vowels .. ")", "ǵ%1"},
{"ts", "ʦ"}, {"ph", "ɸ"}, {"th", "ʈ"}, --{"h", ""},
{"qu?", "ḱ"}, {"þ", "θ"},
{"qu?", "ḱ"}, {"þ", "θ"},