48,355
edits
No edit summary |
No edit summary |
||
| Line 549: | Line 549: | ||
setmetatable(d["stop"], {__call = function(self, args, data) | setmetatable(d["stop"], {__call = function(self, args, data) | ||
local stem = args[1] | local stem = args[1] | ||
local pstem = llet(stem, "b") and "p" or (not llet(stem, "pg")) and sub(stem, 1, -2) .. "t" or stem | local pstem = llet(stem, "b") and sub(stem, 1, -2) .. "p" or (not llet(stem, "pg")) and sub(stem, 1, -2) .. "t" or stem | ||
local voiceless = llet(stem, "ptkq") | local voiceless = llet(stem, "ptkq") | ||
data.decl_type = (voiceless and "voiceless" or "voiced") .. "-stop stem" | data.decl_type = (voiceless and "voiceless" or "voiced") .. "-stop stem" | ||