Added TF.IDF-based entity ranking and filtering.