Module:zm-pron: Difference between revisions

Jump to navigation Jump to search
(Undo revision 270547 by Aleisi Galan (talk))
Tag: Undo
(Undo revision 270513 by Aleisi Galan (talk))
Tag: Undo
Line 30: Line 30:
["n"] = n_rules,
["n"] = n_rules,
["c"] = c_rules,
["c"] = c_rules,
["z"] = z_rules,
}
}


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


Line 141: Line 136:
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