extract document for many examples

federica_gatto9
federica_gatto9 New Altair Community Member
edited November 5 in Community Q&A

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

  • kayman
    kayman New Altair Community Member

    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.

  • Telcontar120
    Telcontar120 New Altair Community Member

    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.