I\'ve defined the custom tokenize function below for text tokenization. Then I\'m using this function in TfidfVectorizer parameters to tokenize the text. Finally, I\'ve save the