A python algorithm to summarize a news article based on the corpus