K - Means, snippet generation for docs and clusters based on TfIdf values of terms