edit tf-idf and add comment