45,647
edits
No edit summary |
No edit summary |
||
Line 38: | Line 38: | ||
local otc = {} | local otc = {} | ||
local switch = {["[ɑa]"] = "a", ["æ"] = "æ", ["[eɛ]"] = "ɛ", ["[iɪ]"] = "ɪ", | local switch = {["[ɑa]"] = "a", ["æ"] = "æ", ["[eɛ]"] = "ɛ", ["[iɪ]"] = "ɪ", | ||
["ɔ"] = "ɔ", ["õ"] = "õ", ["[uʊ]"] = "ʊ", ["[yœ]"] = "œ", ["ɯ"] = "ɯ", | ["ɔ"] = "ɔ", ["õ"] = "õ", ["[uʊ]"] = "ʊ", ["[yœ]"] = "œ", ["ɯ"] = "ɯ",} | ||
["[øü]"] = "ü",} -- dialectal variation, will be changed later | --["[øü]"] = "ü",} -- dialectal variation, will be changed later | ||
for vc in gmatch(v, ".") do | for vc in gmatch(v, ".") do | ||
Line 166: | Line 166: | ||
-- closed vowels | -- closed vowels | ||
{"(" .. vowel .. "*)(" .. consonant .. consonant .. ")", function(s1, s2) return open_to_closed(s1) .. s2 end}, | {"(" .. vowel .. "*)(" .. consonant .. consonant .. ")", function(s1, s2) return open_to_closed(s1) .. s2 end}, | ||
{"(" .. vowel .. "*)(" .. consonant .. ")$", function(s1, s2) return open_to_closed(s1) .. s2 end}, | |||
{"(" .. vowel .. "*)(ː?" .. consonant .. "ɨ)", function(s1, s2) return open_to_closed(s1) .. s2 end}, | |||
{"(" .. vowel .. "*)(ː?" .. consonant .. consonant .. "ɨ)", function(s1, s2) return open_to_closed(s1) .. s2 end}, | |||
{"ɑ$", "a"}, | {"ɑ$", "a"}, | ||
} | } |