A powerful web application for analyzing sentiment in text data using multiple NLP techniques.
This tool helps you analyze the sentiment (positive, negative, or neutral) of any text content such as tweets, product reviews, customer feedback, etc. It provides both single text analysis and batch processing capabilities with interactive visualizations.
- TextBlob: Simple and effective general-purpose sentiment analysis
- VADER: Specialized for social media content and colloquial expressions
- Instant sentiment classification
- Sentiment scores with detailed breakdown
- Visual representation of results
- Upload CSV or Excel files with multiple text entries
- Process hundreds of entries at once
- Download results as a CSV file
- Visualize sentiment distribution across all entries
- User-friendly interface
- Real-time analysis
- Interactive charts and visualizations
git clone https://github.com/your-username/sentiment-analysis.git
cd Sentiment-Analysispip install -r requirements.txtstreamlit run app.pyThen open your web browser and navigate to: http://localhost:8501
- Enter or paste your text
- Select your preferred analysis method (TextBlob or VADER)
- Click "Analyze Sentiment"
- Upload a CSV or Excel file with text data
- Select the text column to analyze
- Choose your analysis method
- Click "Run Batch Analysis"
- Polarity: Score from -1.0 (very negative) to 1.0 (very positive)
- Subjectivity: Score from 0.0 (objective) to 1.0 (subjective)
- Compound Score: Normalized score between -1 (very negative) and 1 (very positive)
- Positive / Neutral / Negative: Proportion of text falling into each category
streamlit >= 1.24.0textblob >= 0.17.1vaderSentiment >= 3.3.2pandas >= 2.0.3matplotlib == 3.7.2plotly >= 5.15.0
- Monitor brand sentiment on social media
- Analyze customer reviews and feedback
- Track public opinion on products or services
- Research emotional content in texts
- Evaluate communication effectiveness
- Best performance with English text
- May struggle with sarcasm and complex context
- Limited understanding of industry-specific terminology
- Cannot detect subtle emotional nuances
Here is the Deployed Link: https://huggingface.co/spaces/Jivan01/Sentiment_Analysis
Follow me on Hugging Face
Created with ❤️ by Jivan Jamdar


