In its raw frequency type, tf is simply the frequency from the "this" for each document. In each document, the word "this" appears as soon as; but since the document 2 has additional words and phrases, its relative frequency is scaled-down.$begingroup$ This occurs simply because you established electron_maxstep = 80 while in the &ELECTRONS namelits