Applying Dictionary Based Sentiment Operator to CSV file

User: "ErinD"
New Altair Community Member
Updated by Jocelyn
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

Sort by:
1 - 1 of 11
    User: "MartinLiebig"
    Altair Employee
    Accepted Answer
    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