Module:siwa-pron: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 209: Line 209:
term = gsub(term, "([đƀ])r", "%1ʼqʼ")
term = gsub(term, "([đƀ])r", "%1ʼqʼ")
term = gsub(term, "ʦx", "ʦʼqʼ")
term = gsub(term, "ʦx", "ʦʼqʼ")
term = gsub(term, "ƛ", "ꬶl")
term = gsub(term, "ꬶl", "klː")
term = gsub(term, "ꬶl", "klː")
else
else
term = gsub(term, "ƛ", "ꬶl")
term = gsub(term, "ꬶl", "klː")
term = gsub(term, "ꬶl", "klː")
end
end
Line 278: Line 276:
if detect_dialect(term) == "w" then
if detect_dialect(term) == "w" then
args.e = false; args.a = false
ipa = ipa .. line_format(separate_word(term, false, false, true), {'Western'})
ipa = ipa .. line_format(separate_word(term, false, false, true), {'Western'})
if mw.title.getCurrentTitle().nsText ~= 'Template' then  
if mw.title.getCurrentTitle().nsText ~= 'Template' then  
Line 284: Line 283:
end
end
elseif detect_dialect(term) == "e" then
elseif detect_dialect(term) == "e" then
args.w = false; args.a = false
ipa = ipa .. line_format(separate_word(term, false, true, false), {'Eastern'})
ipa = ipa .. line_format(separate_word(term, false, true, false), {'Eastern'})
if mw.title.getCurrentTitle().nsText ~= 'Template' then  
if mw.title.getCurrentTitle().nsText ~= 'Template' then  

Navigation menu