Skip to content

Radwan-Albahrani/Sentiment-Analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentiment Analyzer 🚀

Table of Contents 📋

Introduction 🌐

In the world of e-commerce and digital marketplaces, customer reviews play an essential role in changing the product’s reputation and manipulating customer views. These reviews heavily influence product purchasing decisions, which makes it vital to understand and improve your product based on these reviews. This presents a valuable opportunity for AI to analyze and process the vast amount of product reviews available to try and isolate the most negative and most positive things about the product. This, in turn, will help manufacturers know exactly what to focus on when improving their product.

This project, titled "Sentiment Analyzer," is a Python application that utilizes the TextBlob library to perform sentiment analysis on given text. The sentiment analysis function, sentimentAnalyzer, takes a string of text as input and returns whether the sentiment of the text is "positive," "negative," or "neutral" based on the polarity score calculated by TextBlob.

This algorithm is then applied to given data from Amazon Reviews. The data is first cleaned, and then the sentiment analysis function is applied to the data. The results are then analyzed and displayed in multiple graphs.

Installation ⚙️

To install this project, simply clone the repository and run the sentimentAnalyzer function with a string of text as input. The function will return the sentiment of the text as a string.

Usage 🛠️

Using a huge data collection with a bunch of customer reviews based on many different products, we decided to isolate our application to focus on a singular product: the All-New Fire HD 8 Tablet, with 8 HD Display, Wi-Fi, and 16 GB Ram. After analyzing the given data, we found the products assigned ID and created a DataFrame to represent only that product. We then cleaned the data by removing any unnecessary columns and rows, and then applied the sentimentAnalyzer function to the data. The results were then analyzed and displayed in multiple graphs.

This is just a showcase of the TextBlob library and its capabilities. The sentimentAnalyzer function can be applied to any string of text and will return the sentiment of the text as a string.

Contributors 👥

  • Mamdouh Khalaf Aldhfaeeri
  • Ali Abdulelah Aldhamen
  • Radwan Ali albahrani
  • Yosef Mohamed Ahmed
  • Abdulrahman Sultan Almutairi
  • Saad Ibrahim alromaizan

Contact 📬

License 📄

This project is licensed under the MIT License - see the LICENSE.md file for details 📄

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published