I have two columns in my dataframe: Text and category
Sample text: Real text data is much bigger.Two columns are separated by |
Text|Category
I want to get financial advise|financial advise
can I get my loan approved?| loan query
how many years of credit history required?|credit card query
I want to analyze the text column and predict the category. In real data, there are 100s of such categories. What would be the best approach to do this? I am doing this in R language.