45,647
edits
No edit summary |
No edit summary |
||
Line 209: | Line 209: | ||
for _, rrule in ipairs(rules2) do | for _, rrule in ipairs(rules2) do | ||
term = gsub(term, rrule[1], rrule[2]) | term = gsub(term, rrule[1], rrule[2]) | ||
end | end | ||
Line 302: | Line 294: | ||
end | end | ||
ipa = ipa .. line_format(separate_word(term, true, false, true), {'Western'}) | ipa = ipa .. line_format(separate_word(term, true, false, true), {'Western'}) | ||
ipa = ipa .. "\n** " | |||
ipa = ipa .. line_format(separate_word(term, false, false, true), {'Regna'}) | |||
if mw.title.getCurrentTitle().nsText ~= 'Template' then | if mw.title.getCurrentTitle().nsText ~= 'Template' then | ||
table.insert(categories, "Siwa lemmas with Western IPA pronunciation") | table.insert(categories, "Siwa lemmas with Western IPA pronunciation") | ||
Line 307: | Line 301: | ||
end | end | ||
if args. | if args.w then | ||
term = gsub(term, "ü", "ɤ") | |||
elseif args.r then | |||
term = gsub(term, "ü", "ɵ") | |||
else | |||
term = gsub(term, "ü", "œ") | |||
end | end | ||
return ipa .. ncategories(categories) | return ipa .. ncategories(categories) | ||
end | end | ||
return export | return export |