finish tfidf