The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Please HELP: how to use a CSV table of Tweets instead of document for sentiment analysis
JamesMattson
Member Posts: 6 Contributor II
in Help
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
-
kayman Member Posts: 662 UnicornUse 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