Calculation of probability of words in a corpus and generation of top 3 sentences using Map-Reduce