Convert text documents to vectors using TF-IDF vectorizer for topic extraction, clustering, and classification.