new_docs = ["The cat lay on the hat"] new_vectors = vectorizer.transform(new_docs)