Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
Applying Dictionary Based Sentiment Operator to CSV file
ErinD
Hi Everyone,
I am trying to use the dictionary base sentiment operator by uploading an excel file containing a list of words, and a number (0 or 1) in the next column indicating if it is positive or not. I have tried to apply this model to another csv file that has been tokenized, but I receive and odd error that I do not know how to correct. It says "Process failed.
com.rapidminer.example.set.SimpleExampleSet cannot be cast to
com.rapidminer.operator.text.Document."
Any assistance would be appreciated.
Thank you!
Erin
Find more posts tagged with
AI Studio
Accepted answers
MartinLiebig
Hi,
You need to use a document, not an Exampleset. What you want to do is use Data to Documents to convert it into the document type. Please also have a look at the tutorial process of Apply Model (Documents), this should explain a lot.
Best,
Martin
All comments
MartinLiebig
Hi,
You need to use a document, not an Exampleset. What you want to do is use Data to Documents to convert it into the document type. Please also have a look at the tutorial process of Apply Model (Documents), this should explain a lot.
Best,
Martin
ErinD
Hi Martin (
@mschmitz)
,
Thank you for the advice. I have tried to use the Data to Documents operator, but this bring another error with the Dictionary-based Sentiment operator, it says it was expecting an Exampleset and not a document. I attached my process here.
Thank you!
Erin
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups