We now combine the definitions of term frequency and inverse document frequency, to produce a composite weight for each term in each document. The tf-idf weighting scheme assigns to term a weight in document given by In other words, assigns to term a weight in document that is highest when occurs many times within a small number of documents (thus lending high discriminating power to those documen