A Comprehensive Guide to Understand and Implement Text Classification in Python

what if in dataset we dont have lables or tags but having a collection of comments ,how can we assign or find the related lable to each comment .

hie @rachitgarg,
Try to solve that unsupervised way. Do pattern matching, clustering, and some association rules.
Here’s a small guide to help you out.
To label your output with end user involvement.
Link : https://towardsdatascience.com/creating-a-custom-classifier-for-text-cleaning-a2a1fc818935
Here is another guide that intuitively explains, how you could do that, both supervised and unsupervised way.
Link: https://towardsdatascience.com/automated-text-classification-using-machine-learning-3df4f4f9570b

I hope it helps you.