Please HELP: how to use a CSV table of Tweets instead of document for sentiment analysis
JamesMattson
New Altair Community Member
So, I checked the sentiment analysis example. To predict sentiment, it takes on only a document. What if I have a CSV table with the Twitter user as a column, and the tweet text as another column. I want to run the prediction model on all of them, and get sentiment for each user (and his tweet)?
When I try to do that, and make the input a CSV (instead of Create Document), I get an error
When I try to do that, and make the input a CSV (instead of Create Document), I get an error
0
Best Answer
-
Use import CSV, convert your fields to analyze to text (nominal to text operator) and follow by data to document operator (part of text processing extension). Now the records are documents and you can do your NLP logic5
Answers
-
Use import CSV, convert your fields to analyze to text (nominal to text operator) and follow by data to document operator (part of text processing extension). Now the records are documents and you can do your NLP logic5
-
@kayman thank you, this absolutely did what I wanted it to do0