models.tfidfmodel – TF-IDF model¶ This module implements functionality related to the Term Frequency - Inverse Document Frequency class of bag-of-words vector space models. class gensim.models.tfidfmodel.TfidfModel(corpus=None, id2word=None, dictionary=None, wlocal=<function identity>, wglobal=<function df2idf>, normalize=True, smartirs=None, pivot=None, slope=0.25)¶ Bases: TransformationABC Objec