Skip to content

Flgado/SAM-AWSComprehend-Pipeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SAM-AWSComprehend-Pipeline

Required User Permissions

Overview

This project leverages AWS Serverless Application Model (SAM) to build an automated sentiment analysis pipeline using AWS Comprehend. It enables seamless text analysis to determine sentiment polarity (positive, negative, neutral, or mixed).

For a detailed explanation of the implementation, visit my blog: Sentiment Analysis Pipeline.

Features

  • Serverless Deployment: Utilizes AWS SAM for easy deployment and scalability.

  • AWS Comprehend Integration: Analyzes text sentiment with high accuracy.

  • Scalable and Cost-Effective: Pay-as-you-go pricing with AWS Lambda.

  • Automated Processing: Handles real-time or batch sentiment analysis.

Prerequisites

Ensure you have the following installed:

Deployment Steps

  1. Clone the repository
git clone https://github.com/your-repo/sam-awscomprehend-pipeline.git
cd sam-awscomprehend-pipeline
  1. Build the project
sam build -u
  1. Deploy the Application:
sam deploy -g

Follow the prompts to configure AWS credentials and stack settings.

Usage

Once deployed, the pipeline will process input text and return sentiment analysis results via AWS Lambda and AWS Comprehend. You can invoke the Lambda function manually or integrate it with an API Gateway for real-time analysis.

Architecture

This project follows a serverless architecture using:

  • API Gatway

  • AWS Lambda for processing text data.

  • AWS Comprehend for sentiment analysis.

  • AWS Firehose for real time streaming.

  • Amazon S3 for storing text data.

Contributing

Contributions are welcome! Feel free to fork the repository and submit a pull request

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors