TFIDF Simplest TFIDF ever! Step 0 : Construct from TFIDF import TFIDF a = TFIDF("Your corpus directory") Last Step : Query TF-IDF score! a.tf_idf("someWord")