Module:Sandbox/AbstractWikipedia/Functions/fi

Module documentation
local p = {}

local f = require("Module:Sandbox/AbstractWikipedia/Functions")
local wd = require("Module:Sandbox/AbstractWikipedia/Wikidata")


-- Generates a pronoun lexeme; currently only third person singular.
-- If a q_id is given, the generated pronoun will correspond to that item,
function p.Pronoun ( q_id )
	local lexeme = f.Lexeme("L6500")  -- hän
	if q_id and wd.isDead(q_id) then 
		-- We add a past tense feature for lexeme of dead people, as they are
		-- normally spoken about in the past tense. This can exposed to the
		-- verb by using the "tsubj relation".
		lexeme.addFeature("nominal_tense", "past")
	end
	return lexeme
end

return p