Module:qay-pron: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 21: Line 21:
local function laxen(v)
local function laxen(v)
local otc = {}
local otc = {}
local switch = {["e"] = "ɛ", ["i"] = "ɪ", ["o"] = "ɔ", ["u"] = "ʊ", ["a"] = "a", ["ː"] = "ː"}
local switch = {["e"] = "ɛ", ["i"] = "ɪ", ["o"] = "ɔ", ["u"] = "ʊ", ["a"] = "a", ["ː"] = "ː", ["´"] = "´"}
 
 
for vc in gmatch(v, ".") do
for vc in gmatch(v, ".") do
Line 45: Line 45:


local phonetic_rules = {
local phonetic_rules = {
{"ˈ·", "ˈ"}, {"·ˈ", "ˈ"},
{"ˈ·", "ˈ"}, {"·ˈ", "ˈ"}, {"´", ""},
{"h([" .. front .. "])", "ç%1"}, {"h([" .. back .. "])", "x%1"},
{"h([" .. front .. "])", "ç%1"}, {"h([" .. back .. "])", "x%1"},

Navigation menu