`f`, `tf`, `idf`, etc, are kind of crummy function names, even though they are named after the algorithm's parts. `f` in particular.