Problem of set role operator

mailshubhodipmailshubhodip Member Posts: 1 Contributor I
edited November 2018 in Help

set role operator.pngwant to add sentiment as an attribute name,but it shows attribute sentiment is not specified,how to add sentiment in attribute name


  • Options
    Thomas_OttThomas_Ott RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,761 Unicorn

    Ok a few things. First, this thread is a dupilcate of another one you started. I will delete that one.


    Regarding the sentiment value. If your sentiment value comes from the Read Excel operator (i.e. is in a column in your spreadsheet), you have to use a set role before the Process Documents operator, or else it gets chopped up in the tokenization. 


    Also, make sure the text field you're trying to process is set to the Text data format. You can do that in the Read Excel during import or just use a Nominal to Text operator before the Process Documents operator. 

Sign In or Register to comment.