Module:siwa-pron: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 69: Line 69:


local function detect_dialect(term)
local function detect_dialect(term)
if find(term, "̊") or find(term, "ṡ$") or find(term, "rg") or find(term, "bġ") then
if find(term, "[ṁṅłƛ]") then
return "w"
elseif find(term, "̊") or find(term, "ṡ$") or find(term, "rg") or find(term, "bġ") then
return "e"
return "e"
elseif find(term, "[ṁṅłƛ]") then
return "w"
end
end
end
end

Navigation menu