Add tf-idf to input