Options

extract document for many examples

federica_gatto9federica_gatto9 Member Posts: 7 Contributor I
edited July 2020 in Help

Hi everybody!

I am trying to convert all the exmples of the attribute of an excel file that contains customer reviews so that I can then analyze the sentiment. With "Data to documents" I just get empty pages so I tried "Extract document". This is giving me a document with the review text but just for a single example. How can I extend it to all other examples?

Thank you,

Federica

Answers

  • Options
    kaymankayman Member Posts: 662 Unicorn

    Ensure that the attribute you want to analyze is text instead of nominal. In order to use the document operators your data needs to be text, as otherwise it will happily (and correctly) ignore it.

  • Options
    Telcontar120Telcontar120 Moderator, RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635 Unicorn

    So to do this you can either set the role of the text field to text during the original import process as part of the metadata for reading the Excel file, or you can let it import as nominal data (which it should do by default) and then use the "Nominal to Text" operator after you have imported it.

    Brian T.
    Lindon Ventures 
    Data Science Consulting from Certified RapidMiner Experts
Sign In or Register to comment.