Jump to content

Module:Sandbox/AbstractWikipedia/Relations/zu

From Meta, a Wikimedia project coordination wiki
Module documentation
local p = {}

-- A Subject Concord relation unifying the "noun class" feature for subject-verb. 
function p.sc ( source, target )
	verifyPOS(source, "noun")
	verifyPOS(target, "concord")
	l.unifyFeatures("noun class", source, target)
end

-- An Object Concord relation unifying the "noun class" feature for object-verb
function p.oc ( source, target )
	verifyPOS(source, "noun")
	verifyPOS(target, "concord")	
	l.unifyFeatures("noun class", source, target)
end

-- An Adjectival Concord relation unifying the "noun class" feature, only for true adjectives that the target is agglutinated to
function p.ac ( source, target )
	verifyPOS(source, "noun")
	verifyPOS(target, "concord")	
	l.unifyFeatures("noun class", source, target)
end

-- A Relative Concord relation unifying the "noun class" feature, only for relatives and relative adjectives that the target is agglutinated to
function p.rc ( source, target )
	verifyPOS(source, "noun")
	verifyPOS(target, "concord")	
	l.unifyFeatures("noun class", source, target)
end

-- A Posessive Concord relation unifying the "noun class" feature, only where possessive applies for the target
function p.pc ( source, target )
	verifyPOS(source, "noun")
	verifyPOS(target, "concord")	
	l.unifyFeatures("noun class", source, target)
end

return p