add tf-idf script