45,660
edits
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
local deacuter = {["á"] = "a", ["é"] = "e", ["í"] = "i", ["ó"] = "o", ["ú"] = "u"} | local deacuter = {["á"] = "a", ["é"] = "e", ["í"] = "i", ["ó"] = "o", ["ú"] = "u"} | ||
local cs = " | local cs = "bcdhjlmnñpqrstxzvɡzʧʎ" | ||
local data = {} | local data = {} | ||
Line 17: | Line 17: | ||
local stem = data.head; data.decl_type = "o"; local s1 = sub(stem, 1, -2); local inserted = s1 | local stem = data.head; data.decl_type = "o"; local s1 = sub(stem, 1, -2); local inserted = s1 | ||
local pat = { | local pat = { | ||
{"ch", "ʧ"}, {"il", "ʎ | {"ch", "ʧ"}, {"il", "ʎ"}, | ||
{"([^" .. cs .. "])([" .. cs .. "]*)(i?)$", "%1i%2%3"}, {"ii", "i"}, {" | {"([^" .. cs .. "])([" .. cs .. "]*)(i?)$", "%1i%2%3"}, {"ii", "i"}, {"c$", "qu"}, {"ʎ", "il"}, {"ʧ", "ch"} | ||
} | } | ||