Module:siwa-pron: Difference between revisions

No edit summary
No edit summary
Line 217: Line 217:
end
end
if args.w == nil then
if args.w then
elseif args.w then
if export.crux(term, false, false) ~= export.crux(term, false, true) then
if export.crux(term, false, false) ~= export.crux(term, false, true) then
if args.a or args.e then
if args.a or args.e then
Line 224: Line 223:
end
end
ipa = ipa .. line_format(export.crux(term, false, true), {'Western'})
ipa = ipa .. line_format(export.crux(term, false, true), {'Western'})
elseif export.crux(term, false, false) == export.crux(term, false, true) or export.crux(term, false, false) == export.crux(term, true, false) then
table.insert(categories, "Siwa lemmas with Western IPA pronunciation")
elseif export.crux(term, true, false) == export.crux(term, false, true)then
end
ipa = ipa .. line_format(export.crux(term, false, true), accent and #accent > 0 or {'Eastern, Western'})
else end
end
end