RapidMiner

RapidMiner

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

Contributor II

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

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.
2 REPLIES
Super Contributor

Re: Text mining on text attribute of a CSV?

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
Contributor II

Re: Text mining on text attribute of a CSV?

That's what I needed! Thanks a lot, Andrew.  Smiley Happy