All Projects → ziniman → aws-comprehend-demo

ziniman / aws-comprehend-demo

Licence: Apache-2.0 license
No description, website, or topics provided.

Programming Languages

python
139335 projects - #7 most used programming language

aws-comprehend-demo

A set of short and simple demos for Amazon Comprehend

detect.py

Detects sentiment for files stored in a S3 bucket and outputs results into [output_folder] as CSV file.

detect.py bucket [output_folder] [delimiter] [region]

rss.py

Analyze a RSS feed and detects sentiment and key phrases for each item.

rss.py feed_url

twitter.py

Analyze a twitter feed based on defined tag and detects sentiment for each item.

twitter.py tag [items_count=10] [region=us-east-1]

To run this demo create a secrets.py file with your twitter API credentials in the next format (Make sure you don't share this files or commit it to public repos):

api_key = '< API key >'
api_secret = '< API secret key >'
access_token = '< Access token >'
access_secret = '< Access secret token >'
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].