I have data which contains a column wit text, For example
message
1. today,i,go,there
2. i,go,there, tomorow
suppose i have my python conditions
that, if message contains "i,go,there" then its class A, if message contains"today" its Class B
etc.
How do i make such conditions to be known by the classifier. a machine learning model.
Thank you Your help will be appreciated.