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.
@WassamMuneeb-rf1zc