NLTK Documentation
Installation
More
Check the arity of a relation. :type rel: set of tuples :rtype: int of tuple of str