Module:siwa-pron: Difference between revisions
Jump to navigation
Jump to search
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 | |||
if args.w then | |||
term = gsub(term, "ü", "ɤ") | |||
elseif args.r then | |||
term = gsub(term, "ü", "ɵ") | |||
else | |||
term = gsub(term, "ü", "œ") | |||
end | end | ||
Line 254: | Line 262: | ||
["e"] = {type = 'boolean', default = true}, | ["e"] = {type = 'boolean', default = true}, | ||
["w"] = {type = 'boolean', default = true}, | ["w"] = {type = 'boolean', default = true}, | ||
} | } | ||
Line 299: | Line 306: | ||
table.insert(categories, "Siwa lemmas with Western IPA pronunciation") | table.insert(categories, "Siwa lemmas with Western IPA pronunciation") | ||
end | end | ||
end | end | ||