NLP, Classification, Data Science, Data Science Projects.
could be a good alternative to try out. We apply this preprocessing to the entire dataset : # We save the cleaned comments in a list to be easily manipulated clean_comments = list(preprocess(train_data['comment_text'])) The corpus (the list of comments) is ready to be transformed into word