build tfidf vector