NLTK Documentation
Installation
More
Given a sequence, yields each element with an increasing rank, suitable for use as an argument to spearman_correlation.
spearman_correlation