Module:accel/szl

return { generate = function(params, entry) entry.pronunc = ""; if (params.form == "comparative" or (params.form == "superlative")) and (params.pos == "adjective") then entry.declension = ""; elseif (params.form == "abstract noun" or (params.form == "verbal noun")) and (params.pos == "verb") then entry.etymology = "From ." entry.pos_header = "Noun"; entry.head = ""; entry.def = entry.make_def((params.form .. " of")); elseif params.form == "anterior adverbial participle" and (params.pos == "verb") then entry.pos_header = "Participle"; entry.head = ""; entry.def = entry.make_def("inflection of", "||anterior|adverbial|part"); elseif params.form == "contemporary adverbial participle" and (params.pos == "verb") then entry.pos_header = "Participle"; entry.head = ""; entry.def = entry.make_def("inflection of", "||contemporary|adverbial|part"); elseif params.form:find("passive adjectival participle$") and (params.pos == "verb") then entry.pos_header = "Participle"; entry.head = ""; local _, _, form = params.form:find("(.-)|passive adjectival participle$"); if form == nil or form == "m|s" or form == "s|m" then entry.def = entry.make_def("inflection of", "||m|s|pasv|adjectival|part"); entry.declension = ""; else entry.def = entry.make_def("inflection of", "||" .. form); end elseif params.form:find("active adjectival participle$") and (params.pos == "verb") then entry.pos_header = "Participle"; entry.head = ""; local _, _, form = params.form:find("(.-)|active adjectival participle$"); if form == nil or form == "m|s" or form == "s|m" then entry.def = entry.make_def("inflection of", "||actv|adj|part"); entry.declension = ""; else entry.def = entry.make_def("inflection of", "||" .. form); end end end };