45,645
edits
No edit summary |
No edit summary |
||
Line 40: | Line 40: | ||
-- Long vowels | -- Long vowels | ||
{"ā", "aː"}, {"ē", "eː"}, {"ī", "iː"}, {"ō", "oː"}, {"ū", "uː"}, | {"ā", "aː"}, {"ē", "eː"}, {"ī", "iː"}, {"ō", "oː"}, {"ū", "uː"}, | ||
-- Diphthongs | -- Diphthongs | ||
{"(" .. vowels .. ")y", function(v) return laxen(v) .. "ɪ" end}, {"au", "aʊ"}, | {"(" .. vowels .. ")y", function(v) return laxen(v) .. "ɪ" end}, {"au", "aʊ"}, | ||
Line 52: | Line 51: | ||
local phonetic_rules = { | local phonetic_rules = { | ||
{"ˈ·", "ˈ"}, {"·ˈ", "ˈ"}, {"([^nŋ]·)[tk]j", "%1ʧ"}, {"([^nŋ]·)[dɡ]j", "%1ʤ"}, {"r", "ɾ"}, | {"ˈ·", "ˈ"}, {"·ˈ", "ˈ"}, {"h?u([aeiouɛɪɔʊ])", "w%1"}, {"([^nŋ]·)[tk]j", "%1ʧ"}, {"([^nŋ]·)[dɡ]j", "%1ʤ"}, {"r", "ɾ"}, | ||
{"h([" .. front .. "])", "ç%1"}, {"h([" .. back .. "])", "x%1"}, | {"h([" .. front .. "])", "ç%1"}, {"h([" .. back .. "])", "x%1"}, | ||
{"([·ˈ])(" .. consonants .. "?)(" .. vowels .. "*)(" .. consonants .. ")", function(st,c1,v,c2) return st .. c1 .. laxen(v) .. c2 end}, | {"([·ˈ])(" .. consonants .. "?)(" .. vowels .. "*)(" .. consonants .. ")", function(st,c1,v,c2) return st .. c1 .. laxen(v) .. c2 end}, |