Module:zm-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 30: Line 30:
["n"] = n_rules,
["n"] = n_rules,
["c"] = c_rules,
["c"] = c_rules,
["z"] = z_rules,
}
}


Line 68: Line 69:
local n_rules = {
local n_rules = {
{"[ae]", "ə"}, {"ɪ", "ɨ"}, {"i", "ɪ"}, {"o", "ɔ"}, {"u", "ʊ"},  
{"[ae]", "ə"}, {"ɪ", "ɨ"}, {"i", "ɪ"}, {"o", "ɔ"}, {"u", "ʊ"},  
}
local z_rules = {
}
}


Line 136: Line 141:
local ipa = "* "
local ipa = "* "
ipa = ipa .. line_format(separate_word(term), {'Standard'})
ipa = ipa .. line_format(separate_word(term), {'Standard'})
if export.crux(term, "z") ~= export.crux(term) then
ipa = ipa .. "\n* "
ipa = ipa .. line_format(separate_word(term, "n"), {'Standard'})
end
if export.crux(term, "n") ~= export.crux(term) then
if export.crux(term, "n") ~= export.crux(term) then
455

edits