TF-IDF example code