Module:qlu-pron: Difference between revisions

No edit summary
No edit summary
Line 44: Line 44:


local first_rules = {
local first_rules = {
-- vowel digraphs
--{"ăe", "ɛ" .. c.breve}, {"âe", "ɛ" .. c.circ}, {"áe", "ɛ" .. c.acute}, {"ae", "ɛ"},
--{"ău", "ɔ" .. c.breve}, {"âu", "ɔ" .. c.circ}, {"áu", "ɔ" .. c.acute}, {"au", "ɔ"},
--{"ĕi", "Ĭ"}, {"êi", "Î"}, {"éi", "Í"}, {"ei", "I"},
-- Graco-Roman digraphs
-- Graco-Roman digraphs
{"^mn", "n"}, {"^tm", "m"}, {"^ps", "s"},
{"^mn", "n"}, {"^tm", "m"}, {"^ps", "s"},
Line 73: Line 68:
local last_rules = {
local last_rules = {
-- Escaped characters
-- Escaped characters
--{"ʤ", "d͡ʒ"}, {"ʧ", "t͡ʃ"}, {"ʦ", "t͡s"}, {"ʣ", "d͡z"},
{"ʤ", "d͡ʒ"}, {"ʧ", "t͡ʃ"}, {"ʦ", "t͡s"}, {"ʣ", "d͡z"},
--{"ḱ", "kʷ"}, {"ǵ", "ɡʷ"}, {"ʈ", "t"},
{"ḱ", "kʷ"}, {"ǵ", "ɡʷ"}, {"ʈ", "t"},
{"I", "i"},
-- vowel digraphs
{"[ăa]e", "ɛ"}, {"[ăa]u", "ɔ"}, {"[ĕe]i", "i"},
{"·?ˈ·?", "ˈ"}, {"^ˈ·", "ˈ"}, {"·", "."}
{"·?([ˈˌ])·?", "%1"}, {"^([ˈˌ])·", "%1"}, {"·", "."},
}
}