Module:qhv-noun/head: Difference between revisions
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 23: | Line 23: | ||
end | end | ||
function export.pass_to_module(case) | function export.pass_to_module(case, term, reanalyzed) | ||
local word = PAGENAME | local word = term or PAGENAME | ||
local data = {forms = {}, categories = {}} | local data = {forms = {}, categories = {}} | ||
local decl, stem = m_p.detect_decl(word) | local decl, stem = m_p.detect_decl(word, reanalyzed) | ||
stem = {table.concat(stem), "a"} | stem = {table.concat(stem), "a"} | ||