Module:mg-noun/data: Difference between revisions

no edit summary
No edit summary
No edit summary
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", "ʎ"}, {"([^" .. cs .. "])([" .. cs .. "]*)(i?)$", "%1i%2%3"}, {"ii", "i"}, {"c$", "qu"}, {"ʎ", "il"}, {"ʧ", "ch"}
{"ch", "ʧ"}, {"il", "ʎ"}, {"c(.)$", "k%1"},
{"([^" .. cs .. "])([" .. cs .. "]*)(i?)$", "%1i%2%3"}, {"ii", "i"}, {"k$", "qu"}, {"ʎ", "il"}, {"ʧ", "ch"}
}
}