Module:zm-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 15: Line 15:
local AFFR = u(0x0361) -- COMBINING DOUBLE INVERTED BREVE ͡
local AFFR = u(0x0361) -- COMBINING DOUBLE INVERTED BREVE ͡


local back_vowel = "aouɔ"
local back_vowel = "aouɔǫ"
local front_vowel = "ieɛɪ"
local front_vowel = "ieɛɪ"
local vowels = "[" .. back_vowel .. front_vowel .. "]"
local vowels = "[" .. back_vowel .. front_vowel .. "]"
Line 57: Line 57:
if d == "c" then term = gsub(term, "ʨ", "ʧ"); term = gsub(term, "ʥ", "ʤ") end
if d == "c" then term = gsub(term, "ʨ", "ʧ"); term = gsub(term, "ʥ", "ʤ") end
if d == "s" then term = gsub(term, "ʨ", "ʦ"); term = gsub(term, "ʥ", "ʣ") end
if d == "s" then term = gsub(term, "ʨ", "ʦ"); term = gsub(term, "ʥ", "ʣ") end
if d == "c" then term = gsub(term, "a", "ɐ"); term = gsub(term, "e", "ɪ") end
if d == "c" then term = gsub(term, "a", "ɐ"); term = gsub(term, "e", "ɪ"); term = gsub(term, "i", "ʣ"); term = gsub(term, "o", "ʣ"); term = gsub(term, "u", "ʣ")  end
if d == "s" then term = gsub(term, "ɪ", "i"); term = gsub(term, "ʥ", "ʣ") end
if d == "s" then term = gsub(term, "ɪ", "i"); term = gsub(term, "ʥ", "ʣ") end
Line 115: Line 115:
ipa = ipa .. "\n* "
ipa = ipa .. "\n* "
ipa = ipa .. line_format(separate_word(term, "s"), {'Southern'})
ipa = ipa .. line_format(separate_word(term, "s"), {'Southern'})
end
if export.crux(term, "n") ~= export.crux(term) then
ipa = ipa .. "\n* "
ipa = ipa .. line_format(separate_word(term, "n"), {'Northern'})
end
end
455

edits