"[SOLVED] Text mining on text attribute of a CSV?"

wypee
wypee New Altair Community Member
edited November 5 in Community Q&A
Sorry for this rather noob question. I am just getting started with RapindMiner by trying it on one of the Kaggle challenge that requires categorizing user comments as insulting/not-insulting. Now there is this input CSV with tens of thousands of entries of user comments but I notice that all of rapidminer text mining operators expect document. So, am I to split each row of the CSV as a file and then feed as a set of documents to rapidminer? That doesn't seem right. What is the right way of doing it?

Thanks in advance.

Answers

  • Andrew2
    Andrew2 New Altair Community Member
    Hello wypee

    Use the Process Documents from Data operator. Before this you need to convert the type of the attribute containing the data you want to analyse to text. Use the Nominal to Text operator for this.

    regards

    Andrew
  • wypee
    wypee New Altair Community Member
    That's what I needed! Thanks a lot, Andrew.  :)