def intersection(set1, set2):
	"""
	Calculates the intersection size between two sets, used to compute overlap
	between a word context and a definition's signature.

	@param set1 - First set
	@param set2 - Second set
	@return Intersection size
	"""

	return len(set(set1) & set(set2))