Add a complete script for computing TF-IDF