Module:mg-spel: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Undo revision 292338 by Sware (talk))
Tag: Undo
No edit summary
Line 22: Line 22:
-- Spanish
-- Spanish
e = e:gsub("il", "ll")
e = e:gsub("il(.)", "ll%1")
e = e:gsub("v", "b")
e = e:gsub("v", "b")
e = e:gsub("([^c])[gh]", "%1j")
e = e:gsub("([^c])[gh]", "%1j")
-- Asturian    
-- Asturian    
a = a:gsub("il", "ll")
a = a:gsub("il(.)", "ll%1")
a = a:gsub("v", "b")
a = a:gsub("v", "b")
-- Southern
-- Southern
s = s:gsub("ñ", "nh")
s = s:gsub("ñ", "nh")
s = s:gsub("il", "lh")
s = s:gsub("il(.)", "lh%1")
s = s:gsub("v", "b")
s = s:gsub("v", "b")
local lh = match(s, "lh")
local lh = match(s, "lh")
Line 39: Line 39:
c = c:gsub("c([aou])", "k%1")
c = c:gsub("c([aou])", "k%1")
c = c:gsub("qu([ei])", "k%1")
c = c:gsub("qu([ei])", "k%1")
c = c:gsub("ñ", "in")
c = c:gsub("[^i]ñ", "in")
c = c:gsub("x", "is")
c = c:gsub("[^i]x", "is")
-- disclaimer: awful approach below, your physical and mental integrity may be at risk
-- disclaimer: awful approach below, your physical and mental integrity may be at risk

Navigation menu