Module:qhv-noun/head: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 11: Line 11:
local decl, stem = m_p.detect_decl(word)
local decl, stem = m_p.detect_decl(word)
local args = {[1] = stem}
stem = {table.concat(stem), "a"}
if m_d[word] then m_d[word](args, data)
if m_d[word] then m_d[word](stem, data)
else m_d[decl](args, data) end
else m_d[decl](stem, data) end
return table.concat(data.forms)
return table.concat(data.forms)