455
edits
Aleisi Galan (talk | contribs) No edit summary |
Aleisi Galan (talk | contribs) No edit summary |
||
Line 25: | Line 25: | ||
local velar = "[ɡkx]" | local velar = "[ɡkx]" | ||
local consonants = "[mnptkbdɡfvszxrljɲŋʋʎʨjʎʃʒʥʤʧʤʣʦ]" | local consonants = "[mnptkbdɡfvszxrljɲŋʋʎʨjʎʃʒʥʤʧʤʣʦ]" | ||
local dialects = { | |||
["s"] = s_rules, | |||
["n"] = n_rules, | |||
["c"] = c_rules, | |||
} | |||
local export = {} | local export = {} | ||
Line 60: | Line 66: | ||
local n_rules = { | local n_rules = { | ||
{"[ae]", "ə"}, {"ɪ", "ɨ"}, {" | {"[ae]", "ə"}, {"ɪ", "ɨ"}, {"i", "ɪ"}, {"o", "ɔ"}, {"u", "ʊ"}, | ||
} | } | ||
Line 77: | Line 83: | ||
-- Dialects | -- Dialects | ||
for _, dia_rule in ipairs( | for _, dia_rule in ipairs(d == "n" and n_rules or d == "c" and c_rules or s_rules) do | ||
term = gsub(term, dia_rule[1], dia_rule[2]) | term = gsub(term, dia_rule[1], dia_rule[2]) | ||
end | end |
edits