Use the Hadoop API to calculate word co-occurrence rates.