Skip to content

Praveenjeya77/Sentiment_analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Sentiment Analysis Web App 🎭

The Sentiment Analysis Tool is an AI-powered web application that uses a pre-trained sentiment analysis model to classify text as positive, negative, or neutral. By entering a sentence, the user can instantly get a sentiment classification, with the model providing confidence scores for each label.

Features

  • Sentiment Classification: Classifies text into three categories: Positive, Negative, or Neutral.
  • Confidence Scores: Displays the model’s confidence for each sentiment label.
  • Simple Interface: An easy-to-use interface for fast sentiment analysis.
  • Instant Feedback: Get sentiment analysis results instantly after entering text.

How It Works 🔄

  1. Input:
    • Users input a sentence or text into the provided textbox.
  2. Analysis:
    • The pre-trained Transformers sentiment analysis model processes the text.
  3. Output:
    • The application displays the sentiment of the text along with the model's confidence score.

Technologies Used ⚙️

  • Hugging Face Transformers: The pre-trained sentiment analysis pipeline is powered by the Hugging Face Transformers library.
  • Gradio: Provides a simple, interactive web interface for user input and output.
  • Python: Programming language used to implement the app.

Inputs 💬

  • Text: A sentence or text that you would like to analyze for sentiment.

Outputs 📥

  • Sentiment Label: The sentiment of the input text (Positive, Negative, or Neutral).
  • Confidence Score: The model’s confidence in its sentiment classification, rounded to two decimal places.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages