Skip to content

The Multilingual Sentiment Analysis Tool is a powerful solution designed to help businesses gain valuable insights into customer sentiments across multiple languages. By analyzing review scores and providing actionable recommendations using OpenAI GPT models, this tool empowers local businesses to make data-driven decisions.

Notifications You must be signed in to change notification settings

john-thuo1/Multilingual_SentimentAnalysis_Tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multilingual Sentiment Analysis Tool For Your Business Reviews

Deployed Application

Overview

The Multilingual Sentiment Analysis Tool helps businesses gain valuable insights into customer sentiments by analyzing review scores. Powered by OpenAI GPT models, this tool provides actionable recommendations, empowering local businesses to make data-driven decisions and enhance customer satisfaction.

HomePage

image image

Data Visuals

image

Recommendations

image image

Key Features

  • Multilingual Sentiment Analysis: Powered by Hugging Face's nlptown/bert-base-multilingual-uncased-sentiment model for accurate sentiment analysis in multiple languages.
  • Actionable Business Insights: The tool generates tailored recommendations using OpenAI's GPT-4 model, helping businesses improve customer experiences.
  • Comprehensive Data Visualization: Analyzes review scores and generates various insightful graphs.
  • User-Friendly Interface: Intuitive and easy-to-use, allowing businesses to quickly interpret the analysis results.

Installation

  1. Clone the repository:

    git clone https://github.com/john-thuo1/Multilingual_SentimentAnalysis_Tool
    cd into your directory/ open with vscode
  2. Create a virtual environment:

    python -m venv env
  3. Install the required dependencies:

    uv pip install -r requirements.txt
  4. Create an OpenAI API Key and Enter it on the Input Field in the Recommendations Page to proceed: openai

  5. Run the application:

    streamlit run Home.py

Usage

  1. Prepare your review data in a suitable format, with at least Date, Review, columns. (You can use different column names, but ensure the application can match them during analysis.)

  2. The application will download the updated dataset and store it locally. You can also download it directly from the browser, and it will include new columns for Sentiment Scores and Overall Sentiment.

  3. For viewing various data graphs, navigate to the 'Data Visuals' section. You can explore different types of graphs based on the updated data.

  4. In the 'Visuals' section, choose the type of graph you want to display. You can select one or all available graphs.

  5. Finally, go to the 'Recommendations' section for tailored business insights powered by the OpenAI GPT-4 model. Enter the OpenAI API Key before proceeding to get insights.

Contributing

Contributions are welcome! If you have ideas, suggestions, or bug reports, feel free to open an issue or submit a pull request. For major changes, please discuss them first in the issue tracker.

Acknowledgments

  • The Multilingual Sentiment Analysis Tool is built using Hugging Face's nlptown/bert-base-multilingual-uncased-sentiment model for sentiment analysis.
  • OpenAI GPT models provide actionable recommendations for businesses.

Next Steps

  • Expand language support to include diverse African languages, such as Kiswahili.
  • Enhance the sentiment analysis model to handle nuanced sentiments and improve accuracy.
  • Incorporate real-time data analysis capabilities for continuous monitoring of customer sentiment.

About

The Multilingual Sentiment Analysis Tool is a powerful solution designed to help businesses gain valuable insights into customer sentiments across multiple languages. By analyzing review scores and providing actionable recommendations using OpenAI GPT models, this tool empowers local businesses to make data-driven decisions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages