A TF-IDF script written in Python