This script performs sentiment analysis on recent tweets and writes results to an Excel spreadsheet.
This script collects recent tweets for given keywords and performs sentiment analysis. The resulting data is written to an excel file.
1. Create Variable: list containing product keywords.
2. Loop: over keywords.
3. Twitter: collect recent tweets for keyword.
4. Loop: over recent tweets.
5. Natural Language Processing: perform sentiment analysis on a tweet.
6. Excel: Write data to excel.