45,646
edits
No edit summary |
No edit summary |
||
Line 76: | Line 76: | ||
{"l[ьі]", "ʎ"}, {"n[ьі]", "ɲ"}, {"[ьі]", "j"}, | {"l[ьі]", "ʎ"}, {"n[ьі]", "ɲ"}, {"[ьі]", "j"}, | ||
{"(" .. consonants .. ")(" .. consonants .. ")", function(c1,c2) return same(c1, c2) and c1 .. "ː" or c1 .. c2 end} | {"(" .. consonants .. ")(" .. consonants .. ")", function(c1,c2) return same(c1, c2) and c1 .. "ː" or c1 .. c2 end}, | ||
{"r$", "ɾ"}, | |||
} | } | ||
Line 113: | Line 114: | ||
for word in gsplit(term, " ") do | for word in gsplit(term, " ") do | ||
local ipa = export.crux(term) | |||
if export.harmony(ipa).backness == "b" then ipa = ipa:gsub("a", "ɑ") end | |||
if export.harmony(ipa).roundness == "r" then ipa = ipa:gsub("ɛ", "œ") end | |||
if export.harmony(ipa).roundness == "u" then ipa = ipa:gsub("ɔ", "ʌ") end | |||
table.insert(result, ipa) | |||
end | end | ||