45,660
edits
No edit summary |
No edit summary |
||
Line 77: | Line 77: | ||
local stem = data.head; data.decl_type = "n" | local stem = data.head; data.decl_type = "n" | ||
local s1 = sub(stem, 1, -2); local s2 = sub(stem, 1, -3) | local s1 = sub(stem, 1, -2); local s2 = sub(stem, 1, -3) | ||
local changes = {["d"] = "n", ["z"] = "i", [" | local changes = {["d"] = "n", ["z"] = "i", ["ñ"] = "n"} | ||
local changed = gsub(s1, ".$", function(foo) return changes[foo] or "-" end) | local changed = gsub(s1, ".$", function(foo) return changes[foo] or "-" end) | ||
table.insert(data.categories, "Modern Gallaecian n-declension nouns") | table.insert(data.categories, "Modern Gallaecian n-declension nouns") |