45,646
edits
No edit summary |
No edit summary |
||
Line 36: | Line 36: | ||
return term | return term | ||
end | end | ||
local deacuter = { | |||
["á"] = "a", ["é"] = "e", ["í"] = "i", ["ó"] = "o", ["ú"] = "u", ["ý"] = "y", | |||
} | |||
local phonemic_rules = { | local phonemic_rules = { | ||
Line 41: | Line 45: | ||
{"v", "β"}, {"r", "ɾ"}, {"h", "x"}, | {"v", "β"}, {"r", "ɾ"}, {"h", "x"}, | ||
{"ë", "ə"}, {"ëë+", "əː"}, {"([áéíóú])", function(v) return | {"ë", "ə"}, {"ëë+", "əː"}, {"([áéíóú])", function(v) return deacuter[v] end}, | ||
{"kʞ", "ʞː"}, {"(" .. consonants .. ")(" .. consonants .. ")", | {"kʞ", "ʞː"}, {"(" .. consonants .. ")(" .. consonants .. ")", | ||
Line 48: | Line 52: | ||
local phonetic_rules = { | local phonetic_rules = { | ||
{"", ""}, {"", ""}, {"", ""}, {"", ""}, | {"á", "a"}, {"", ""}, {"", ""}, {"", ""}, | ||
{"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, | {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, | ||
{"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, | {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, |