@WassamMuneeb-rf1zc

TF (Term Frequency) = (Number of times term t appears in a document) / (Total terms in the document)
why have not you divided Total terms in the document in the denominator.